public enum FenceMode extends Enum<FenceMode>
Enum Constant and Description |
---|
BRIDGED
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 |
Modifier and Type | Method and Description |
---|---|
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.
|
public static final FenceMode BRIDGED
public static final FenceMode ISOLATED
public static final FenceMode NAT_ROUTED
public static final FenceMode UNRECOGNIZED
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 nameNullPointerException
- if the argument is nullpublic String value()
Copyright © 2009-2012 jclouds. All Rights Reserved.