EffectiveSecurityRuleProtocol Class

public final class EffectiveSecurityRuleProtocol
extends ExpandableStringEnum<EffectiveSecurityRuleProtocol>

The network protocol this rule applies to.

Field Summary

Modifier and Type Field and Description
static final EffectiveSecurityRuleProtocol ALL

Static value All for EffectiveSecurityRuleProtocol.

static final EffectiveSecurityRuleProtocol TCP

Static value Tcp for EffectiveSecurityRuleProtocol.

static final EffectiveSecurityRuleProtocol UDP

Static value Udp for EffectiveSecurityRuleProtocol.

Constructor Summary

Constructor Description
EffectiveSecurityRuleProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EffectiveSecurityRuleProtocol value.

Method Summary

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

Creates or finds a EffectiveSecurityRuleProtocol from its string representation.

static Collection<EffectiveSecurityRuleProtocol> values()

Gets known EffectiveSecurityRuleProtocol values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

ALL

public static final EffectiveSecurityRuleProtocol ALL

Static value All for EffectiveSecurityRuleProtocol.

TCP

public static final EffectiveSecurityRuleProtocol TCP

Static value Tcp for EffectiveSecurityRuleProtocol.

UDP

public static final EffectiveSecurityRuleProtocol UDP

Static value Udp for EffectiveSecurityRuleProtocol.

Constructor Details

EffectiveSecurityRuleProtocol

@Deprecated
public EffectiveSecurityRuleProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of EffectiveSecurityRuleProtocol value.

Method Details

fromString

public static EffectiveSecurityRuleProtocol fromString(String name)

Creates or finds a EffectiveSecurityRuleProtocol from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding EffectiveSecurityRuleProtocol.

values

public static Collection values()

Gets known EffectiveSecurityRuleProtocol values.

Returns:

known EffectiveSecurityRuleProtocol values.

Applies to