SecurityRuleDirection Class

public final class SecurityRuleDirection
extends ExpandableStringEnum<SecurityRuleDirection>

The direction of the rule. The direction specifies if rule will be evaluated on incoming or outgoing traffic.

Field Summary

Modifier and Type Field and Description
static final SecurityRuleDirection INBOUND

Static value Inbound for SecurityRuleDirection.

static final SecurityRuleDirection OUTBOUND

Static value Outbound for SecurityRuleDirection.

Constructor Summary

Constructor Description
SecurityRuleDirection()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecurityRuleDirection value.

Method Summary

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

Creates or finds a SecurityRuleDirection from its string representation.

static Collection<SecurityRuleDirection> values()

Gets known SecurityRuleDirection values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

INBOUND

public static final SecurityRuleDirection INBOUND

Static value Inbound for SecurityRuleDirection.

OUTBOUND

public static final SecurityRuleDirection OUTBOUND

Static value Outbound for SecurityRuleDirection.

Constructor Details

SecurityRuleDirection

@Deprecated
public SecurityRuleDirection()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecurityRuleDirection value.

Method Details

fromString

public static SecurityRuleDirection fromString(String name)

Creates or finds a SecurityRuleDirection from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SecurityRuleDirection.

values

public static Collection values()

Gets known SecurityRuleDirection values.

Returns:

known SecurityRuleDirection values.

Applies to