|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Layer4ProtocolType>
com.vmware.vcloud.sdk.constants.Layer4ProtocolType
public enum Layer4ProtocolType
Layer4Protocol constants
| Enum Constant Summary | |
|---|---|
TCP
TCP to be used in NAT rule. |
|
TCP_UDP
TCP and UDP to be used in NAT rule. |
|
UDP
UDP to be used in NAT rule. |
|
| Method Summary | |
|---|---|
static Layer4ProtocolType |
fromValue(String value)
|
String |
value()
|
static Layer4ProtocolType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static Layer4ProtocolType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Layer4ProtocolType TCP
public static final Layer4ProtocolType UDP
public static final Layer4ProtocolType TCP_UDP
| Method Detail |
|---|
public static Layer4ProtocolType[] values()
for (Layer4ProtocolType c : Layer4ProtocolType.values()) System.out.println(c);
public static Layer4ProtocolType valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullpublic String value()
public static Layer4ProtocolType fromValue(String value)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||