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