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 Summary
FieldsModifier and TypeFieldDescriptionstatic final AlternativeTypeStatic value None for AlternativeType.static final AlternativeTypeStatic value Offer for AlternativeType.static final AlternativeTypeStatic value Plan for AlternativeType. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic AlternativeTypefromString(String name) Creates or finds a AlternativeType from its string representation.static Collection<AlternativeType> values()Gets known AlternativeType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
NONE
Static value None for AlternativeType. -
OFFER
Static value Offer for AlternativeType. -
PLAN
Static value Plan for AlternativeType.
-
-
Constructor Details
-
AlternativeType
Deprecated.Use thefromString(String)factory method.Creates a new instance of AlternativeType value.
-
-
Method Details
-
fromString
Creates or finds a AlternativeType from its string representation.- Parameters:
name- a name to look for.- Returns:
- the corresponding AlternativeType.
-
values
Gets known AlternativeType values.- Returns:
- known AlternativeType values.
-
fromString(String)factory method.