public static enum EC2Instance.EC2InstanceDisplayPropertyToken extends Enum<EC2Instance.EC2InstanceDisplayPropertyToken> implements com.cloudera.director.spi.v1.model.DisplayPropertyToken
Enum Constant and Description |
---|
ARCHITECTURE
The architecture of the image.
|
AVAILABILITY_ZONE
The availability zone in which the instance is running.
|
EBS_OPTIMIZED
Whether the instance is optimized for EBS I/O.
|
HYPERVISOR
The hypervisor type of the instance.
|
IMAGE_ID
The ID of the AMI used to launch the instance.
|
INSTANCE_ID
The ID of the instance.
|
INSTANCE_LIFECYCLE
The instance lifecycle (e.g.
|
INSTANCE_TYPE
The instance type.
|
KEY_PAIR
The name of the key pair, if this instance was launched with an associated key pair.
|
LAUNCH_TIME
The time the instance was launched.
|
PLACEMENT_GROUP_NAME
The name of the placement group used by this instance.
|
PLATFORM
The platform of the instance (Windows for Windows instances; otherwise blank).
|
PRIVATE_DNS_NAME
The private DNS name assigned to the instance.
|
PRIVATE_IP_ADDRESS
The private IP address assigned to the instance.
|
PUBLIC_DNS_NAME
The public DNS name assigned to the instance.
|
PUBLIC_IP_ADDRESS
The public IP address assigned to the instance.
|
ROOT_DEVICE_NAME
The root device name (for example, /dev/sda1).
|
ROOT_DEVICE_TYPE
The root device type used by the AMI.
|
SECURITY_GROUPS
The name and IDs of all the security groups attached to this instance.
|
SOURCE_DEST_CHECK
Whether to enable an instance launched in a VPC to perform NAT.
|
SPOT
Whether the instance is a Spot Instance.
|
SRIOV_NET_SUPPORT
Whether enhanced networking is enabled.
|
SUBNET_ID
The ID of the subnet in which the instance is running.
|
TENANCY
The tenancy type of the instance.
|
VIRTUALIZATION_TYPE
The virtualization type of the instance.
|
VPC_ID
The ID of the VPC in which the instance is running.
|
Modifier and Type | Method and Description |
---|---|
protected abstract String |
getPropertyValue(com.amazonaws.services.ec2.model.Instance instance)
Returns the value of the property from the specified instance.
|
com.cloudera.director.spi.v1.model.DisplayProperty |
unwrap() |
static EC2Instance.EC2InstanceDisplayPropertyToken |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EC2Instance.EC2InstanceDisplayPropertyToken[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EC2Instance.EC2InstanceDisplayPropertyToken ARCHITECTURE
public static final EC2Instance.EC2InstanceDisplayPropertyToken EBS_OPTIMIZED
public static final EC2Instance.EC2InstanceDisplayPropertyToken HYPERVISOR
public static final EC2Instance.EC2InstanceDisplayPropertyToken IMAGE_ID
public static final EC2Instance.EC2InstanceDisplayPropertyToken INSTANCE_ID
public static final EC2Instance.EC2InstanceDisplayPropertyToken INSTANCE_LIFECYCLE
public static final EC2Instance.EC2InstanceDisplayPropertyToken INSTANCE_TYPE
public static final EC2Instance.EC2InstanceDisplayPropertyToken KEY_PAIR
public static final EC2Instance.EC2InstanceDisplayPropertyToken LAUNCH_TIME
public static final EC2Instance.EC2InstanceDisplayPropertyToken PLATFORM
public static final EC2Instance.EC2InstanceDisplayPropertyToken PRIVATE_DNS_NAME
public static final EC2Instance.EC2InstanceDisplayPropertyToken PRIVATE_IP_ADDRESS
public static final EC2Instance.EC2InstanceDisplayPropertyToken PUBLIC_DNS_NAME
public static final EC2Instance.EC2InstanceDisplayPropertyToken PUBLIC_IP_ADDRESS
public static final EC2Instance.EC2InstanceDisplayPropertyToken ROOT_DEVICE_NAME
public static final EC2Instance.EC2InstanceDisplayPropertyToken ROOT_DEVICE_TYPE
public static final EC2Instance.EC2InstanceDisplayPropertyToken SOURCE_DEST_CHECK
public static final EC2Instance.EC2InstanceDisplayPropertyToken SPOT
public static final EC2Instance.EC2InstanceDisplayPropertyToken SRIOV_NET_SUPPORT
public static final EC2Instance.EC2InstanceDisplayPropertyToken SECURITY_GROUPS
public static final EC2Instance.EC2InstanceDisplayPropertyToken SUBNET_ID
public static final EC2Instance.EC2InstanceDisplayPropertyToken AVAILABILITY_ZONE
public static final EC2Instance.EC2InstanceDisplayPropertyToken PLACEMENT_GROUP_NAME
public static final EC2Instance.EC2InstanceDisplayPropertyToken TENANCY
public static final EC2Instance.EC2InstanceDisplayPropertyToken VIRTUALIZATION_TYPE
public static final EC2Instance.EC2InstanceDisplayPropertyToken VPC_ID
public static EC2Instance.EC2InstanceDisplayPropertyToken[] values()
for (EC2Instance.EC2InstanceDisplayPropertyToken c : EC2Instance.EC2InstanceDisplayPropertyToken.values()) System.out.println(c);
public static EC2Instance.EC2InstanceDisplayPropertyToken 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 nullprotected abstract String getPropertyValue(com.amazonaws.services.ec2.model.Instance instance)
instance
- the instancepublic com.cloudera.director.spi.v1.model.DisplayProperty unwrap()
unwrap
in interface com.cloudera.director.spi.v1.model.DisplayPropertyToken
Copyright © 2016. All rights reserved.