Class PolicyState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PolicyState>
com.azure.resourcemanager.elasticsan.models.PolicyState
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
Defines values for PolicyState.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PolicyState
Static value Disabled for PolicyState.static final PolicyState
Static value Enabled for PolicyState. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PolicyState
fromString
(String name) Creates or finds a PolicyState from its string representation.static Collection
<PolicyState> values()
Gets known PolicyState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, getValue, hashCode, toString, values
-
Field Details
-
ENABLED
Static value Enabled for PolicyState. -
DISABLED
Static value Disabled for PolicyState.
-
-
Constructor Details
-
PolicyState
Deprecated.Use thefromString(String)
factory method.Creates a new instance of PolicyState value.
-
-
Method Details
-
fromString
Creates or finds a PolicyState from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding PolicyState.
-
values
Gets known PolicyState values.- Returns:
- known PolicyState values.
-
fromString(String)
factory method.