|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<FenceMode>
org.jclouds.trmk.vcloud_0_8.domain.FenceMode
public enum FenceMode
The FenceMode element contains one of the following strings that specify how a network is connected to its parent network.
| Enum Constant Summary | |
|---|---|
ALLOW_IN_OUT
The two networks are bridged. |
|
ISOLATED
The two networks are not connected. |
|
NAT_ROUTED
The two networks are connected as specified in their NatService elements. |
|
UNRECOGNIZED
|
|
| Method Summary | |
|---|---|
static FenceMode |
fromValue(String fenceMode)
|
String |
toString()
|
String |
value()
|
static FenceMode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static FenceMode[] |
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 FenceMode ALLOW_IN_OUT
public static final FenceMode ISOLATED
public static final FenceMode NAT_ROUTED
public static final FenceMode UNRECOGNIZED
| Method Detail |
|---|
public static FenceMode[] values()
for (FenceMode c : FenceMode.values()) System.out.println(c);
public static FenceMode 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<FenceMode>public static FenceMode fromValue(String fenceMode)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||