Action Class

public final class Action
extends ExpandableStringEnum<Action>

The action of IP ACL rule.

Field Summary

Modifier and Type Field and Description
static final Action ALLOW

Static value Allow for Action.

Constructor Summary

Constructor Description
Action()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Action value.

Method Summary

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

Creates or finds a Action from its string representation.

static Collection<Action> values()

Gets known Action values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALLOW

public static final Action ALLOW

Static value Allow for Action.

Constructor Details

Action

@Deprecated
public Action()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of Action value.

Method Details

fromString

public static Action fromString(String name)

Creates or finds a Action from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding Action.

values

public static Collection values()

Gets known Action values.

Returns:

known Action values.

Applies to