AllocationPolicy Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. deviceprovisioningservices. models. AllocationPolicy
- com.
- com.
public final class AllocationPolicy
extends ExpandableStringEnum<AllocationPolicy>
Defines values for AllocationPolicy.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Allocation |
GEO_LATENCY
Static value Geo |
static final
Allocation |
HASHED
Static value Hashed for Allocation |
static final
Allocation |
STATIC
Static value Static for Allocation |
Constructor Summary
Constructor | Description | |
---|---|---|
AllocationPolicy() |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Allocation |
fromString(String name)
Creates or finds a Allocation |
static
Collection<Allocation |
values() |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
GEO_LATENCY
public static final AllocationPolicy GEO_LATENCY
Static value GeoLatency for AllocationPolicy.
HASHED
public static final AllocationPolicy HASHED
Static value Hashed for AllocationPolicy.
STATIC
public static final AllocationPolicy STATIC
Static value Static for AllocationPolicy.
Constructor Details
AllocationPolicy
public AllocationPolicy()
Method Details
fromString
public static AllocationPolicy fromString(String name)
Creates or finds a AllocationPolicy from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java