org.jclouds.vcloud.director.v1_5.domain.network
Enum NetworkConnection.IpAddressAllocationMode

java.lang.Object
  extended by java.lang.Enum<NetworkConnection.IpAddressAllocationMode>
      extended by 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>


Enum Constant Summary
DHCP
           
MANUAL
           
NONE
           
POOL
           
UNRECOGNIZED
           
 
Field Summary
static List<NetworkConnection.IpAddressAllocationMode> ALL
           
protected static Map<String,NetworkConnection.IpAddressAllocationMode> IP_ADDRESS_ALLOCATION_MODE_BY_ID
           
protected  String label
           
 
Method Summary
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Field Detail

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
Method Detail

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.