|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<MappingMode> org.jclouds.vcloud.domain.network.nat.rules.MappingMode
public enum MappingMode
The MappingMode element specifies how IP address mapping is implemented by the NAT service.
Enum Constant Summary | |
---|---|
AUTOMATIC
the external IP address is assigned automatically |
|
MANUAL
the external IP address is specified in the ExternalIP element |
|
UNRECOGNIZED
|
Method Summary | |
---|---|
static MappingMode |
fromValue(String mode)
|
String |
toString()
|
String |
value()
|
static MappingMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static MappingMode[] |
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 MappingMode MANUAL
public static final MappingMode AUTOMATIC
public static final MappingMode UNRECOGNIZED
Method Detail |
---|
public static MappingMode[] values()
for (MappingMode c : MappingMode.values()) System.out.println(c);
public static MappingMode 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<MappingMode>
public static MappingMode fromValue(String mode)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |