@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum StatefulRuleProtocol extends Enum<StatefulRuleProtocol>
Enum Constant and Description |
---|
DCERPC |
DHCP |
DNS |
FTP |
HTTP |
ICMP |
IKEV2 |
IMAP |
IP |
KRB5 |
MSN |
NTP |
SMB |
SMTP |
SSH |
TCP |
TFTP |
TLS |
UDP |
Modifier and Type | Method and Description |
---|---|
static StatefulRuleProtocol |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static StatefulRuleProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StatefulRuleProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StatefulRuleProtocol IP
public static final StatefulRuleProtocol TCP
public static final StatefulRuleProtocol UDP
public static final StatefulRuleProtocol ICMP
public static final StatefulRuleProtocol HTTP
public static final StatefulRuleProtocol FTP
public static final StatefulRuleProtocol TLS
public static final StatefulRuleProtocol SMB
public static final StatefulRuleProtocol DNS
public static final StatefulRuleProtocol DCERPC
public static final StatefulRuleProtocol SSH
public static final StatefulRuleProtocol SMTP
public static final StatefulRuleProtocol IMAP
public static final StatefulRuleProtocol MSN
public static final StatefulRuleProtocol KRB5
public static final StatefulRuleProtocol IKEV2
public static final StatefulRuleProtocol TFTP
public static final StatefulRuleProtocol NTP
public static final StatefulRuleProtocol DHCP
public static StatefulRuleProtocol[] values()
for (StatefulRuleProtocol c : StatefulRuleProtocol.values()) System.out.println(c);
public static StatefulRuleProtocol valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<StatefulRuleProtocol>
public static StatefulRuleProtocol fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.