public enum MappingMode extends Enum<MappingMode>
Enum Constant and Description |
---|
AUTOMATIC
the external IP address is assigned automatically
|
MANUAL
the external IP address is specified in the ExternalIP element
|
UNRECOGNIZED |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final MappingMode MANUAL
public static final MappingMode AUTOMATIC
public static final MappingMode UNRECOGNIZED
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 nameNullPointerException
- if the argument is nullpublic String value()
public String toString()
toString
in class Enum<MappingMode>
public static MappingMode fromValue(String mode)
Copyright © 2009-2013 jclouds. All Rights Reserved.