ManagedRuleEnabledState Class
- java.
lang. Object - com.
azure. core. util. ExpandableStringEnum<T> - com.
azure. resourcemanager. network. models. ManagedRuleEnabledState
- com.
- com.
public final class ManagedRuleEnabledState
extends ExpandableStringEnum<ManagedRuleEnabledState>
The state of the managed rule. Defaults to Disabled if not specified.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Managed |
DISABLED
Static value Disabled for Managed |
static final
Managed |
ENABLED
Static value Enabled for Managed |
Constructor Summary
Constructor | Description |
---|---|
ManagedRuleEnabledState() |
Deprecated
Use the fromString(String name) factory method.
Creates a new instance of Managed |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Managed |
fromString(String name)
Creates or finds a Managed |
static
Collection<Managed |
values()
Gets known Managed |
Methods inherited from ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
DISABLED
public static final ManagedRuleEnabledState DISABLED
Static value Disabled for ManagedRuleEnabledState.
ENABLED
public static final ManagedRuleEnabledState ENABLED
Static value Enabled for ManagedRuleEnabledState.
Constructor Details
ManagedRuleEnabledState
@Deprecated
public ManagedRuleEnabledState()
Deprecated
Creates a new instance of ManagedRuleEnabledState value.
Method Details
fromString
public static ManagedRuleEnabledState fromString(String name)
Creates or finds a ManagedRuleEnabledState from its string representation.
Parameters:
Returns:
values
public static Collection
Gets known ManagedRuleEnabledState values.
Returns:
Applies to
Azure SDK for Java