@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public enum TCPFlag extends Enum<TCPFlag>
Modifier and Type | Method and Description |
---|---|
static TCPFlag |
fromValue(String value)
Use this in place of valueOf.
|
String |
toString() |
static TCPFlag |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TCPFlag[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TCPFlag FIN
public static final TCPFlag SYN
public static final TCPFlag RST
public static final TCPFlag PSH
public static final TCPFlag ACK
public static final TCPFlag URG
public static final TCPFlag ECE
public static final TCPFlag CWR
public static TCPFlag[] values()
for (TCPFlag c : TCPFlag.values()) System.out.println(c);
public static TCPFlag 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 static TCPFlag fromValue(String value)
value
- real valueIllegalArgumentException
- If the specified value does not map to one of the known values in this enum.