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