|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<NatType> org.jclouds.vcloud.domain.network.nat.NatType
public enum NatType
The NatType element specifies how network address translation is implemented by the NAT service.
Enum Constant Summary | |
---|---|
IP_TRANSLATION
NAT service implemented by IP address translation |
|
PORT_FORWARDING
NAT service implemented by network port forwarding |
|
UNRECOGNIZED
|
Method Summary | |
---|---|
static NatType |
fromValue(String natType)
|
String |
toString()
|
String |
value()
|
static NatType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static NatType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final NatType IP_TRANSLATION
public static final NatType PORT_FORWARDING
public static final NatType UNRECOGNIZED
Method Detail |
---|
public static NatType[] values()
for (NatType c : NatType.values()) System.out.println(c);
public static NatType 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 String toString()
toString
in class Enum<NatType>
public static NatType fromValue(String natType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |