org.jclouds.cloudstack.domain
Enum GuestIPType
java.lang.Object
java.lang.Enum<GuestIPType>
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. |
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
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.