public static enum NetworkConnection.IpAddressAllocationMode extends Enum<NetworkConnection.IpAddressAllocationMode>
Enum Constant and Description |
---|
DHCP |
MANUAL |
NONE |
POOL |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static List<NetworkConnection.IpAddressAllocationMode> |
ALL |
protected static Map<String,NetworkConnection.IpAddressAllocationMode> |
IP_ADDRESS_ALLOCATION_MODE_BY_ID |
protected String |
label |
Modifier and Type | Method and Description |
---|---|
static NetworkConnection.IpAddressAllocationMode |
fromValue(String value) |
String |
label() |
static NetworkConnection.IpAddressAllocationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NetworkConnection.IpAddressAllocationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NetworkConnection.IpAddressAllocationMode POOL
public static final NetworkConnection.IpAddressAllocationMode DHCP
public static final NetworkConnection.IpAddressAllocationMode MANUAL
public static final NetworkConnection.IpAddressAllocationMode NONE
public static final NetworkConnection.IpAddressAllocationMode UNRECOGNIZED
public static final List<NetworkConnection.IpAddressAllocationMode> ALL
protected final String label
protected static final Map<String,NetworkConnection.IpAddressAllocationMode> IP_ADDRESS_ALLOCATION_MODE_BY_ID
public static NetworkConnection.IpAddressAllocationMode[] values()
for (NetworkConnection.IpAddressAllocationMode c : NetworkConnection.IpAddressAllocationMode.values()) System.out.println(c);
public static NetworkConnection.IpAddressAllocationMode 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 label()
public static NetworkConnection.IpAddressAllocationMode fromValue(String value)
Copyright © 2009-2013 jclouds. All Rights Reserved.