org.jclouds.cloudstack.domain
Enum GuestIPType

java.lang.Object
  extended by java.lang.Enum<GuestIPType>
      extended by org.jclouds.cloudstack.domain.GuestIPType
All Implemented Interfaces:
Serializable, Comparable<GuestIPType>

public enum GuestIPType
extends Enum<GuestIPType>

Author:
Adrian Cole
See Also:
NetworkOfferingClient#listNetworkOfferings

Enum Constant Summary
DIRECT
          traffic directly to the network and VMs created here are assigned an IP directly from the network as configured
UNRECOGNIZED
           
VIRTUAL
          guest IP address will be issued by Dhcp server in the guest virtual network.
 
Method Summary
static GuestIPType fromValue(String type)
           
 String toString()
           
static GuestIPType valueOf(String name)
          Returns the enum constant of this type with the specified name.
static GuestIPType[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

VIRTUAL

public static final GuestIPType VIRTUAL
guest IP address will be issued by Dhcp server in the guest virtual network. Dhcp role is played by domain router.


DIRECT

public static final GuestIPType DIRECT
traffic directly to the network and VMs created here are assigned an IP directly from the network as configured


UNRECOGNIZED

public static final GuestIPType UNRECOGNIZED
Method Detail

values

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

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

valueOf

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

toString

public String toString()
Overrides:
toString in class Enum<GuestIPType>

fromValue

public static GuestIPType fromValue(String type)


Copyright © 2009-2012 jclouds. All Rights Reserved.