Package 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>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DIRECT
traffic directly to the network and VMs created here are assigned an IP directly from the network as configuredISOLATED
SHARED
TODO: add comments to explain the meaning (cs3 only)UNRECOGNIZED
VIRTUAL
guest IP address will be issued by Dhcp server in the guest virtual network.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description 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.
-
-
-
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
-
SHARED
public static final GuestIPType SHARED
TODO: add comments to explain the meaning (cs3 only)
-
ISOLATED
public static final GuestIPType ISOLATED
-
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 nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<GuestIPType>
-
fromValue
public static GuestIPType fromValue(String type)
-
-