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

public final class HostnameType extends com.azure.core.util.ExpandableStringEnum<HostnameType>
Hostname type.
  • Field Details

    • PROXY

      public static final HostnameType PROXY
      Static value Proxy for HostnameType.
    • PORTAL

      public static final HostnameType PORTAL
      Static value Portal for HostnameType.
    • MANAGEMENT

      public static final HostnameType MANAGEMENT
      Static value Management for HostnameType.
    • SCM

      public static final HostnameType SCM
      Static value Scm for HostnameType.
    • DEVELOPER_PORTAL

      public static final HostnameType DEVELOPER_PORTAL
      Static value DeveloperPortal for HostnameType.
    • CONFIGURATION_API

      public static final HostnameType CONFIGURATION_API
      Static value ConfigurationApi for HostnameType.
  • Constructor Details

    • HostnameType

      @Deprecated public HostnameType()
      Deprecated.
      Use the fromString(String) factory method.
      Creates a new instance of HostnameType value.
  • Method Details

    • fromString

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

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