Class AlternativeType

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

public final class AlternativeType extends com.azure.core.util.ExpandableStringEnum<AlternativeType>
Describes the type of the alternative option.
  • Field Details

    • NONE

      public static final AlternativeType NONE
      Static value None for AlternativeType.
    • OFFER

      public static final AlternativeType OFFER
      Static value Offer for AlternativeType.
    • PLAN

      public static final AlternativeType PLAN
      Static value Plan for AlternativeType.
  • Constructor Details

    • AlternativeType

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

    • fromString

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

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