com.vmware.vcloud.sdk.constants
Enum IpAddressAllocationModeType

java.lang.Object
  extended by java.lang.Enum<IpAddressAllocationModeType>
      extended by com.vmware.vcloud.sdk.constants.IpAddressAllocationModeType
All Implemented Interfaces:
Serializable, Comparable<IpAddressAllocationModeType>

public enum IpAddressAllocationModeType
extends Enum<IpAddressAllocationModeType>

IpAddressAllocationMode constants

Since:
API 1.5, SDK 1.5
Author:
Ecosystem Engineering

Enum Constant Summary
DHCP
          The IP address is assigned dynamically by a DHCP service on the network.
MANUAL
          The IP address must be set manually.
NONE
          No IP addressing mode has been specified.
POOL
          The IP address is static but allocated automatically from a pool of addresses.
 
Method Summary
static IpAddressAllocationModeType fromValue(String value)
           
 String value()
           
static IpAddressAllocationModeType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static IpAddressAllocationModeType[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NONE

public static final IpAddressAllocationModeType NONE
No IP addressing mode has been specified.


MANUAL

public static final IpAddressAllocationModeType MANUAL
The IP address must be set manually.


POOL

public static final IpAddressAllocationModeType POOL
The IP address is static but allocated automatically from a pool of addresses.


DHCP

public static final IpAddressAllocationModeType DHCP
The IP address is assigned dynamically by a DHCP service on the network.

Method Detail

values

public static IpAddressAllocationModeType[] 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 (IpAddressAllocationModeType c : IpAddressAllocationModeType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static IpAddressAllocationModeType 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

value

public String value()

fromValue

public static IpAddressAllocationModeType fromValue(String value)


Copyright © 2016. All Rights Reserved.