Class PlacementPolicyState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PlacementPolicyState>
com.azure.resourcemanager.avs.models.PlacementPolicyState
public final class PlacementPolicyState
extends com.azure.core.util.ExpandableStringEnum<PlacementPolicyState>
Whether the placement policy is enabled or disabled.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PlacementPolicyState
Static value Disabled for PlacementPolicyState.static final PlacementPolicyState
Static value Enabled for PlacementPolicyState. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PlacementPolicyState
fromString
(String name) Creates or finds a PlacementPolicyState from its string representation.static Collection<PlacementPolicyState>
values()
Gets known PlacementPolicyState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
ENABLED
Static value Enabled for PlacementPolicyState. -
DISABLED
Static value Disabled for PlacementPolicyState.
-
-
Constructor Details
-
PlacementPolicyState
public PlacementPolicyState()
-
-
Method Details
-
fromString
Creates or finds a PlacementPolicyState from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding PlacementPolicyState.
-
values
Gets known PlacementPolicyState values.- Returns:
- known PlacementPolicyState values.
-