Class AllocationMethod
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<AllocationMethod>
-
- com.azure.resourcemanager.scvmm.models.AllocationMethod
-
public final class AllocationMethod extends com.azure.core.util.ExpandableStringEnum<AllocationMethod>
Defines values for AllocationMethod.
-
-
Field Summary
Fields Modifier and Type Field Description static AllocationMethod
DYNAMIC
Static value Dynamic for AllocationMethod.static AllocationMethod
STATIC
Static value Static for AllocationMethod.
-
Constructor Summary
Constructors Constructor Description AllocationMethod()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AllocationMethod
fromString(String name)
Creates or finds a AllocationMethod from its string representation.static Collection<AllocationMethod>
values()
Gets known AllocationMethod values.
-
-
-
Field Detail
-
DYNAMIC
public static final AllocationMethod DYNAMIC
Static value Dynamic for AllocationMethod.
-
STATIC
public static final AllocationMethod STATIC
Static value Static for AllocationMethod.
-
-
Method Detail
-
fromString
public static AllocationMethod fromString(String name)
Creates or finds a AllocationMethod from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding AllocationMethod.
-
values
public static Collection<AllocationMethod> values()
Gets known AllocationMethod values.- Returns:
- known AllocationMethod values.
-
-