public static enum EC2InstanceTemplate.EC2InstanceTemplateConfigurationPropertyToken extends Enum<EC2InstanceTemplate.EC2InstanceTemplateConfigurationPropertyToken> implements com.cloudera.director.spi.v1.model.ConfigurationPropertyToken
Enum Constant and Description |
---|
AVAILABILITY_ZONE
The availability zone.
|
IAM_PROFILE_NAME
Name of the IAM instance profile.
|
IMAGE
The image (AMI) ID.
|
KEY_NAME
Name of the key pair to use for new instances.
|
PLACEMENT_GROUP
The placement group name for new instances.
|
ROOT_VOLUME_SIZE_GB
Size of the root partition in GBs.
|
ROOT_VOLUME_TYPE
The type of EBS volume to use for the root drive.
|
SECURITY_GROUP_IDS
The IDs of the VPC security groups (comma separated).
|
SPOT_BID_USD_PER_HR
Spot bid in USD/hr.
|
SUBNET_ID
The ID of the Amazon VPC subnet.
|
TENANCY
The tenancy.
|
TYPE
The instance type (e.g.
|
USE_SPOT_INSTANCES
Whether to use Spot Instances.
|
Modifier and Type | Method and Description |
---|---|
com.cloudera.director.spi.v1.model.ConfigurationProperty |
unwrap() |
static EC2InstanceTemplate.EC2InstanceTemplateConfigurationPropertyToken |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EC2InstanceTemplate.EC2InstanceTemplateConfigurationPropertyToken[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EC2InstanceTemplate.EC2InstanceTemplateConfigurationPropertyToken AVAILABILITY_ZONE
The availability zone.
Multiple availability zones are linked together by high speed low latency connections. Each zone is a distinct failure domain.
public static final EC2InstanceTemplate.EC2InstanceTemplateConfigurationPropertyToken IAM_PROFILE_NAME
public static final EC2InstanceTemplate.EC2InstanceTemplateConfigurationPropertyToken IMAGE
public static final EC2InstanceTemplate.EC2InstanceTemplateConfigurationPropertyToken KEY_NAME
public static final EC2InstanceTemplate.EC2InstanceTemplateConfigurationPropertyToken PLACEMENT_GROUP
public static final EC2InstanceTemplate.EC2InstanceTemplateConfigurationPropertyToken ROOT_VOLUME_SIZE_GB
public static final EC2InstanceTemplate.EC2InstanceTemplateConfigurationPropertyToken ROOT_VOLUME_TYPE
public static final EC2InstanceTemplate.EC2InstanceTemplateConfigurationPropertyToken SECURITY_GROUP_IDS
public static final EC2InstanceTemplate.EC2InstanceTemplateConfigurationPropertyToken SPOT_BID_USD_PER_HR
public static final EC2InstanceTemplate.EC2InstanceTemplateConfigurationPropertyToken SUBNET_ID
public static final EC2InstanceTemplate.EC2InstanceTemplateConfigurationPropertyToken TENANCY
The tenancy.
The tenancy of the instance (if the instance is running in a VPC). An instance with dedicated tenancy runs on single-tenant hardware.
public static final EC2InstanceTemplate.EC2InstanceTemplateConfigurationPropertyToken TYPE
public static final EC2InstanceTemplate.EC2InstanceTemplateConfigurationPropertyToken USE_SPOT_INSTANCES
false
.public static EC2InstanceTemplate.EC2InstanceTemplateConfigurationPropertyToken[] values()
for (EC2InstanceTemplate.EC2InstanceTemplateConfigurationPropertyToken c : EC2InstanceTemplate.EC2InstanceTemplateConfigurationPropertyToken.values()) System.out.println(c);
public static EC2InstanceTemplate.EC2InstanceTemplateConfigurationPropertyToken valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic com.cloudera.director.spi.v1.model.ConfigurationProperty unwrap()
unwrap
in interface com.cloudera.director.spi.v1.model.ConfigurationPropertyToken
Copyright © 2016. All rights reserved.