IpRuleAction Class

public final class IpRuleAction
extends ExpandableStringEnum<IpRuleAction>

The network action for the IP mask.

Field Summary

Modifier and Type Field and Description
static final IpRuleAction ALLOW

Static value Allow for IpRuleAction.

Constructor Summary

Constructor Description
IpRuleAction()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IpRuleAction value.

Method Summary

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

Creates or finds a IpRuleAction from its string representation.

static Collection<IpRuleAction> values()

Gets known IpRuleAction values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALLOW

public static final IpRuleAction ALLOW

Static value Allow for IpRuleAction.

Constructor Details

IpRuleAction

@Deprecated
public IpRuleAction()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of IpRuleAction value.

Method Details

fromString

public static IpRuleAction fromString(String name)

Creates or finds a IpRuleAction from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding IpRuleAction.

values

public static Collection<IpRuleAction> values()

Gets known IpRuleAction values.

Returns:

known IpRuleAction values.

Applies to