Class AffinityType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<AffinityType>
com.azure.resourcemanager.avs.models.AffinityType
Placement policy affinity type.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final AffinityType
Static value Affinity for AffinityType.static final AffinityType
Static value AntiAffinity for AffinityType. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic AffinityType
fromString
(String name) Creates or finds a AffinityType from its string representation.static Collection<AffinityType>
values()
Gets known AffinityType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
AFFINITY
Static value Affinity for AffinityType. -
ANTI_AFFINITY
Static value AntiAffinity for AffinityType.
-
-
Constructor Details
-
AffinityType
public AffinityType()
-
-
Method Details
-
fromString
Creates or finds a AffinityType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding AffinityType.
-
values
Gets known AffinityType values.- Returns:
- known AffinityType values.
-