org.jclouds.vcloud.director.v1_5.domain.network
Enum NetworkConnection.IpAddressAllocationMode
java.lang.Object
java.lang.Enum<NetworkConnection.IpAddressAllocationMode>
org.jclouds.vcloud.director.v1_5.domain.network.NetworkConnection.IpAddressAllocationMode
- All Implemented Interfaces:
- Serializable, Comparable<NetworkConnection.IpAddressAllocationMode>
- Enclosing class:
- NetworkConnection
public static enum NetworkConnection.IpAddressAllocationMode
- extends Enum<NetworkConnection.IpAddressAllocationMode>
POOL
public static final NetworkConnection.IpAddressAllocationMode POOL
DHCP
public static final NetworkConnection.IpAddressAllocationMode DHCP
MANUAL
public static final NetworkConnection.IpAddressAllocationMode MANUAL
NONE
public static final NetworkConnection.IpAddressAllocationMode NONE
UNRECOGNIZED
public static final NetworkConnection.IpAddressAllocationMode UNRECOGNIZED
ALL
public static final List<NetworkConnection.IpAddressAllocationMode> ALL
label
protected final String label
IP_ADDRESS_ALLOCATION_MODE_BY_ID
protected static final Map<String,NetworkConnection.IpAddressAllocationMode> IP_ADDRESS_ALLOCATION_MODE_BY_ID
values
public static NetworkConnection.IpAddressAllocationMode[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (NetworkConnection.IpAddressAllocationMode c : NetworkConnection.IpAddressAllocationMode.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static NetworkConnection.IpAddressAllocationMode valueOf(String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name - the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
label
public String label()
fromValue
public static NetworkConnection.IpAddressAllocationMode fromValue(String value)
Copyright © 2009-2014 The Apache Software Foundation. All Rights Reserved.