Example usage for Java com.amazonaws.services.ec2.model Instance fields, constructors, methods, implement or subclass
The text is from its open source code.
Integer | getAmiLaunchIndex() The AMI launch index, which can be used to find this instance in the launch group. |
String | getArchitecture() The architecture of the image. |
java.util.List | getBlockDeviceMappings() Any block device mapping entries for the instance. |
String | getClientToken() The idempotency token you provided when you launched the instance, if applicable. |
Boolean | getEbsOptimized() Indicates whether the instance is optimized for Amazon EBS I/O. |
Boolean | getEnaSupport() Specifies whether enhanced networking with ENA is enabled. |
String | getHypervisor() The hypervisor type of the instance. |
IamInstanceProfile | getIamInstanceProfile() The IAM instance profile associated with the instance, if applicable. |
String | getImageId() The ID of the AMI used to launch the instance. |
String | getInstanceId() The ID of the instance. |
String | getInstanceLifecycle() Indicates whether this is a Spot Instance or a Scheduled Instance. |
String | getInstanceType() The instance type. |
String | getKernelId() The kernel associated with this instance, if applicable. |
String | getKeyName() The name of the key pair, if this instance was launched with an associated key pair. |
java.util.Date | getLaunchTime() The time the instance was launched. |
Monitoring | getMonitoring() The monitoring for the instance. |
java.util.List | getNetworkInterfaces() [EC2-VPC] The network interfaces for the instance. |
Placement | getPlacement() The location where the instance launched, if applicable. |
String | getPlatform() The value is |
String | getPrivateDnsName() (IPv4 only) The private DNS hostname name assigned to the instance. |
String | getPrivateIpAddress() The private IPv4 address assigned to the instance. |
java.util.List | getProductCodes() The product codes attached to this instance, if applicable. |
String | getPublicDnsName() (IPv4 only) The public DNS name assigned to the instance. |
String | getPublicIpAddress() The public IPv4 address assigned to the instance, if applicable. |
String | getRamdiskId() The RAM disk associated with this instance, if applicable. |
String | getRootDeviceName() The device name of the root device volume (for example, |
String | getRootDeviceType() The root device type used by the AMI. |
java.util.List | getSecurityGroups() The security groups for the instance. |
Boolean | getSourceDestCheck() Specifies whether to enable an instance launched in a VPC to perform NAT. |
String | getSpotInstanceRequestId() If the request is a Spot Instance request, the ID of the request. |
String | getSriovNetSupport() Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled. |
InstanceState | getState() The current state of the instance. |
StateReason | getStateReason() The reason for the most recent state transition. |
String | getStateTransitionReason() The reason for the most recent state transition. |
String | getSubnetId() [EC2-VPC] The ID of the subnet in which the instance is running. |
java.util.List | getTags() Any tags assigned to the instance. |
String | getVirtualizationType() The virtualization type of the instance. |
String | getVpcId() [EC2-VPC] The ID of the VPC in which the instance is running. |
Boolean | isEbsOptimized() Indicates whether the instance is optimized for Amazon EBS I/O. |
void | setAmiLaunchIndex(Integer amiLaunchIndex) The AMI launch index, which can be used to find this instance in the launch group. |
void | setBlockDeviceMappings(java.util.Collection Any block device mapping entries for the instance. |
void | setClientToken(String clientToken) The idempotency token you provided when you launched the instance, if applicable. |
void | setImageId(String imageId) The ID of the AMI used to launch the instance. |
void | setInstanceId(String instanceId) The ID of the instance. |
void | setInstanceType(String instanceType) The instance type. |
void | setInstanceType(InstanceType instanceType) The instance type. |
void | setKernelId(String kernelId) The kernel associated with this instance, if applicable. |
void | setKeyName(String keyName) The name of the key pair, if this instance was launched with an associated key pair. |
void | setLaunchTime(java.util.Date launchTime) The time the instance was launched. |
void | setMonitoring(Monitoring monitoring) The monitoring for the instance. |
void | setPlacement(Placement placement) The location where the instance launched, if applicable. |
void | setPlatform(String platform) The value is |
void | setPlatform(PlatformValues platform) The value is |
void | setPrivateDnsName(String privateDnsName) (IPv4 only) The private DNS hostname name assigned to the instance. |
void | setPrivateIpAddress(String privateIpAddress) The private IPv4 address assigned to the instance. |
void | setProductCodes(java.util.Collection The product codes attached to this instance, if applicable. |
void | setPublicDnsName(String publicDnsName) (IPv4 only) The public DNS name assigned to the instance. |
void | setPublicIpAddress(String publicIpAddress) The public IPv4 address assigned to the instance, if applicable. |
void | setRamdiskId(String ramdiskId) The RAM disk associated with this instance, if applicable. |
void | setRootDeviceName(String rootDeviceName) The device name of the root device volume (for example, |
void | setSpotInstanceRequestId(String spotInstanceRequestId) If the request is a Spot Instance request, the ID of the request. |
void | setSriovNetSupport(String sriovNetSupport) Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled. |
void | setState(InstanceState state) The current state of the instance. |
void | setStateReason(StateReason stateReason) The reason for the most recent state transition. |
void | setStateTransitionReason(String stateTransitionReason) The reason for the most recent state transition. |
void | setSubnetId(String subnetId) [EC2-VPC] The ID of the subnet in which the instance is running. |
void | setTags(java.util.Collection Any tags assigned to the instance. |
void | setVpcId(String vpcId) [EC2-VPC] The ID of the VPC in which the instance is running. |
String | toString() Returns a string representation of this object. |