Package org.jclouds.aws.ec2.domain
Enum VPC.InstanceTenancy
- java.lang.Object
-
- java.lang.Enum<VPC.InstanceTenancy>
-
- org.jclouds.aws.ec2.domain.VPC.InstanceTenancy
-
- All Implemented Interfaces:
Serializable
,Comparable<VPC.InstanceTenancy>
- Enclosing class:
- VPC
public static enum VPC.InstanceTenancy extends Enum<VPC.InstanceTenancy>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEDICATED
DEFAULT
The valid tenancy of instances launched into the VPCHOST
UNRECOGNIZED
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VPC.InstanceTenancy
fromValue(String v)
String
value()
static VPC.InstanceTenancy
valueOf(String name)
Returns the enum constant of this type with the specified name.static VPC.InstanceTenancy[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DEFAULT
public static final VPC.InstanceTenancy DEFAULT
The valid tenancy of instances launched into the VPC
-
DEDICATED
public static final VPC.InstanceTenancy DEDICATED
-
HOST
public static final VPC.InstanceTenancy HOST
-
UNRECOGNIZED
public static final VPC.InstanceTenancy UNRECOGNIZED
-
-
Method Detail
-
values
public static VPC.InstanceTenancy[] 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 (VPC.InstanceTenancy c : VPC.InstanceTenancy.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VPC.InstanceTenancy 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
-
value
public String value()
-
fromValue
public static VPC.InstanceTenancy fromValue(String v)
-
-