Partager via


SecurityRuleProtocol Class

public final class SecurityRuleProtocol
extends ExpandableStringEnum<SecurityRuleProtocol>

Network protocol this rule applies to.

Field Summary

Modifier and Type Field and Description
static final SecurityRuleProtocol AH

Static value Ah for SecurityRuleProtocol.

static final SecurityRuleProtocol ASTERISK

Static value * for SecurityRuleProtocol.

static final SecurityRuleProtocol ESP

Static value Esp for SecurityRuleProtocol.

static final SecurityRuleProtocol ICMP

Static value Icmp for SecurityRuleProtocol.

static final SecurityRuleProtocol TCP

Static value Tcp for SecurityRuleProtocol.

static final SecurityRuleProtocol UDP

Static value Udp for SecurityRuleProtocol.

Constructor Summary

Constructor Description
SecurityRuleProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecurityRuleProtocol value.

Method Summary

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

Creates or finds a SecurityRuleProtocol from its string representation.

static Collection<SecurityRuleProtocol> values()

Gets known SecurityRuleProtocol values.

Methods inherited from ExpandableStringEnum

Methods inherited from java.lang.Object

Field Details

AH

public static final SecurityRuleProtocol AH

Static value Ah for SecurityRuleProtocol.

ASTERISK

public static final SecurityRuleProtocol ASTERISK

Static value * for SecurityRuleProtocol.

ESP

public static final SecurityRuleProtocol ESP

Static value Esp for SecurityRuleProtocol.

ICMP

public static final SecurityRuleProtocol ICMP

Static value Icmp for SecurityRuleProtocol.

TCP

public static final SecurityRuleProtocol TCP

Static value Tcp for SecurityRuleProtocol.

UDP

public static final SecurityRuleProtocol UDP

Static value Udp for SecurityRuleProtocol.

Constructor Details

SecurityRuleProtocol

@Deprecated
public SecurityRuleProtocol()

Deprecated

Use the fromString(String name) factory method.

Creates a new instance of SecurityRuleProtocol value.

Method Details

fromString

public static SecurityRuleProtocol fromString(String name)

Creates or finds a SecurityRuleProtocol from its string representation.

Parameters:

name - a name to look for.

Returns:

the corresponding SecurityRuleProtocol.

values

public static Collection values()

Gets known SecurityRuleProtocol values.

Returns:

known SecurityRuleProtocol values.

Applies to