AlternativeType Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. compute. models. AlternativeType
- com.
- com.
public final class AlternativeType
extends ExpandableStringEnum<AlternativeType>
Describes the type of the alternative option.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Alternative |
NONE
Static value None for Alternative |
static final
Alternative |
OFFER
Static value Offer for Alternative |
static final
Alternative |
PLAN
Static value Plan for Alternative |
Constructor Summary
Constructor | Description |
---|---|
AlternativeType() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Alternative |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Alternative |
fromString(String name)
Creates or finds a Alternative |
static
Collection<Alternative |
values()
Gets known Alternative |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
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
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:
Returns:
values
public static Collection
Gets known AlternativeType values.
Returns:
Applies to
Azure SDK for Java