ManagedRuleEnabledState Class

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 ManagedRuleEnabledState DISABLED

Disabled.

static final ManagedRuleEnabledState ENABLED

Enabled.

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

Disabled.

ENABLED

public static final ManagedRuleEnabledState ENABLED

Enabled.

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<ManagedRuleEnabledState> values()

Gets known ManagedRuleEnabledState values.

Returns:

known ManagedRuleEnabledState values.

Applies to