ForwardingRuleState Class

public final class ForwardingRuleState
extends ExpandableStringEnum<ForwardingRuleState>

The state of forwarding rule.

Field Summary

Modifier and Type Field and Description
static final ForwardingRuleState DISABLED

Static value Disabled for ForwardingRuleState.

static final ForwardingRuleState ENABLED

Static value Enabled for ForwardingRuleState.

Constructor Summary

Constructor Description
ForwardingRuleState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ForwardingRuleState value.

Method Summary

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

Creates or finds a ForwardingRuleState from its string representation.

static Collection<ForwardingRuleState> values()

Gets known ForwardingRuleState values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

DISABLED

public static final ForwardingRuleState DISABLED

Static value Disabled for ForwardingRuleState.

ENABLED

public static final ForwardingRuleState ENABLED

Static value Enabled for ForwardingRuleState.

Constructor Details

ForwardingRuleState

@Deprecated
public ForwardingRuleState()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of ForwardingRuleState value.

Method Details

fromString

public static ForwardingRuleState fromString(String name)

Creates or finds a ForwardingRuleState from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding ForwardingRuleState.

values

public static Collection<ForwardingRuleState> values()

Gets known ForwardingRuleState values.

Returns:

known ForwardingRuleState values.

Applies to