Class PolicyEnabledState
java.lang.Object
com.azure.core.util.ExpandableStringEnum<PolicyEnabledState>
com.azure.resourcemanager.frontdoor.models.PolicyEnabledState
public final class PolicyEnabledState
extends com.azure.core.util.ExpandableStringEnum<PolicyEnabledState>
Describes if the policy is in enabled or disabled state. Defaults to Enabled if not specified.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final PolicyEnabledState
Static value Disabled for PolicyEnabledState.static final PolicyEnabledState
Static value Enabled for PolicyEnabledState. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic PolicyEnabledState
fromString
(String name) Creates or finds a PolicyEnabledState from its string representation.static Collection<PolicyEnabledState>
values()
Gets known PolicyEnabledState values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
DISABLED
Static value Disabled for PolicyEnabledState. -
ENABLED
Static value Enabled for PolicyEnabledState.
-
-
Constructor Details
-
PolicyEnabledState
Deprecated.Use thefromString(String)
factory method.Creates a new instance of PolicyEnabledState value.
-
-
Method Details
-
fromString
Creates or finds a PolicyEnabledState from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding PolicyEnabledState.
-
values
Gets known PolicyEnabledState values.- Returns:
- known PolicyEnabledState values.
-
fromString(String)
factory method.