java.lang.Object
com.azure.core.util.ExpandableStringEnum<Scheme>
com.azure.resourcemanager.appcontainers.models.Scheme
All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>

public final class Scheme extends com.azure.core.util.ExpandableStringEnum<Scheme>
Scheme to use for connecting to the host. Defaults to HTTP.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final Scheme
    Static value HTTP for Scheme.
    static final Scheme
    Static value HTTPS for Scheme.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated.
    Use the fromString(String) factory method.
  • Method Summary

    Modifier and Type
    Method
    Description
    static Scheme
    Creates or finds a Scheme from its string representation.
    Gets known Scheme values.

    Methods inherited from class com.azure.core.util.ExpandableStringEnum

    equals, fromString, getValue, hashCode, toString, values

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details

    • HTTP

      public static final Scheme HTTP
      Static value HTTP for Scheme.
    • HTTPS

      public static final Scheme HTTPS
      Static value HTTPS for Scheme.
  • Constructor Details

  • Method Details

    • fromString

      public static Scheme fromString(String name)
      Creates or finds a Scheme from its string representation.
      Parameters:
      name - a name to look for.
      Returns:
      the corresponding Scheme.
    • values

      public static Collection<Scheme> values()
      Gets known Scheme values.
      Returns:
      known Scheme values.