Class ServiceType

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

public final class ServiceType extends com.azure.core.util.ExpandableStringEnum<ServiceType>
Name of the service.
  • Field Details

    • INBOUND

      public static final ServiceType INBOUND
      Static value Inbound for ServiceType.
    • OUTBOUND

      public static final ServiceType OUTBOUND
      Static value Outbound for ServiceType.
    • INBOUND_OUTBOUND

      public static final ServiceType INBOUND_OUTBOUND
      Static value InboundOutbound for ServiceType.
  • Constructor Details

    • ServiceType

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

    • fromString

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

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