ManagedRuleEnabledState Class

public final class ManagedRuleEnabledState
extends ExpandableStringEnum<ManagedRuleEnabledState>

Describes if the managed rule is in enabled or disabled state.

Field Summary

Modifier and Type Field and Description
static final ManagedRuleEnabledState DISABLED

Static value Disabled for ManagedRuleEnabledState.

static final ManagedRuleEnabledState ENABLED

Static value Enabled for ManagedRuleEnabledState.

Constructor Summary

Constructor Description
ManagedRuleEnabledState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ManagedRuleEnabledState value.

Method Summary

Modifier and Type Method and Description
static ManagedRuleEnabledState fromString(String name)

Creates or finds a ManagedRuleEnabledState from its string representation.

static Collection<ManagedRuleEnabledState> values()

Gets known ManagedRuleEnabledState values.

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

Use the fromString(String name) factory method.

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:

name - a name to look for.

Returns:

the corresponding ManagedRuleEnabledState.

values

public static Collection values()

Gets known ManagedRuleEnabledState values.

Returns:

known ManagedRuleEnabledState values.

Applies to