Java com.amazonaws.services.ec2.model Instance fields, constructors, methods, implement or subclass

Example usage for Java com.amazonaws.services.ec2.model Instance fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for com.amazonaws.services.ec2.model Instance.

The text is from its open source code.

Subclass

com.amazonaws.services.ec2.model.Instance has subclasses.
Click this link to see all its subclasses.

Constructor

Method

IntegergetAmiLaunchIndex()

The AMI launch index, which can be used to find this instance in the launch group.

StringgetArchitecture()

The architecture of the image.

java.util.ListgetBlockDeviceMappings()

Any block device mapping entries for the instance.

StringgetClientToken()

The idempotency token you provided when you launched the instance, if applicable.

BooleangetEbsOptimized()

Indicates whether the instance is optimized for Amazon EBS I/O.

BooleangetEnaSupport()

Specifies whether enhanced networking with ENA is enabled.

StringgetHypervisor()

The hypervisor type of the instance.

IamInstanceProfilegetIamInstanceProfile()

The IAM instance profile associated with the instance, if applicable.

StringgetImageId()

The ID of the AMI used to launch the instance.

StringgetInstanceId()

The ID of the instance.

StringgetInstanceLifecycle()

Indicates whether this is a Spot Instance or a Scheduled Instance.

StringgetInstanceType()

The instance type.

StringgetKernelId()

The kernel associated with this instance, if applicable.

StringgetKeyName()

The name of the key pair, if this instance was launched with an associated key pair.

java.util.DategetLaunchTime()

The time the instance was launched.

MonitoringgetMonitoring()

The monitoring for the instance.

java.util.ListgetNetworkInterfaces()

[EC2-VPC] The network interfaces for the instance.

PlacementgetPlacement()

The location where the instance launched, if applicable.

StringgetPlatform()

The value is Windows for Windows instances; otherwise blank.

StringgetPrivateDnsName()

(IPv4 only) The private DNS hostname name assigned to the instance.

StringgetPrivateIpAddress()

The private IPv4 address assigned to the instance.

java.util.ListgetProductCodes()

The product codes attached to this instance, if applicable.

StringgetPublicDnsName()

(IPv4 only) The public DNS name assigned to the instance.

StringgetPublicIpAddress()

The public IPv4 address assigned to the instance, if applicable.

StringgetRamdiskId()

The RAM disk associated with this instance, if applicable.

StringgetRootDeviceName()

The device name of the root device volume (for example, /dev/sda1).

StringgetRootDeviceType()

The root device type used by the AMI.

java.util.ListgetSecurityGroups()

The security groups for the instance.

BooleangetSourceDestCheck()

Specifies whether to enable an instance launched in a VPC to perform NAT.

StringgetSpotInstanceRequestId()

If the request is a Spot Instance request, the ID of the request.

StringgetSriovNetSupport()

Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

InstanceStategetState()

The current state of the instance.

StateReasongetStateReason()

The reason for the most recent state transition.

StringgetStateTransitionReason()

The reason for the most recent state transition.

StringgetSubnetId()

[EC2-VPC] The ID of the subnet in which the instance is running.

java.util.ListgetTags()

Any tags assigned to the instance.

StringgetVirtualizationType()

The virtualization type of the instance.

StringgetVpcId()

[EC2-VPC] The ID of the VPC in which the instance is running.

BooleanisEbsOptimized()

Indicates whether the instance is optimized for Amazon EBS I/O.

voidsetAmiLaunchIndex(Integer amiLaunchIndex)

The AMI launch index, which can be used to find this instance in the launch group.

voidsetBlockDeviceMappings(java.util.Collection blockDeviceMappings)

Any block device mapping entries for the instance.

voidsetClientToken(String clientToken)

The idempotency token you provided when you launched the instance, if applicable.

voidsetImageId(String imageId)

The ID of the AMI used to launch the instance.

voidsetInstanceId(String instanceId)

The ID of the instance.

voidsetInstanceType(String instanceType)

The instance type.

voidsetInstanceType(InstanceType instanceType)

The instance type.

voidsetKernelId(String kernelId)

The kernel associated with this instance, if applicable.

voidsetKeyName(String keyName)

The name of the key pair, if this instance was launched with an associated key pair.

voidsetLaunchTime(java.util.Date launchTime)

The time the instance was launched.

voidsetMonitoring(Monitoring monitoring)

The monitoring for the instance.

voidsetPlacement(Placement placement)

The location where the instance launched, if applicable.

voidsetPlatform(String platform)

The value is Windows for Windows instances; otherwise blank.

voidsetPlatform(PlatformValues platform)

The value is Windows for Windows instances; otherwise blank.

voidsetPrivateDnsName(String privateDnsName)

(IPv4 only) The private DNS hostname name assigned to the instance.

voidsetPrivateIpAddress(String privateIpAddress)

The private IPv4 address assigned to the instance.

voidsetProductCodes(java.util.Collection productCodes)

The product codes attached to this instance, if applicable.

voidsetPublicDnsName(String publicDnsName)

(IPv4 only) The public DNS name assigned to the instance.

voidsetPublicIpAddress(String publicIpAddress)

The public IPv4 address assigned to the instance, if applicable.

voidsetRamdiskId(String ramdiskId)

The RAM disk associated with this instance, if applicable.

voidsetRootDeviceName(String rootDeviceName)

The device name of the root device volume (for example, /dev/sda1).

voidsetSpotInstanceRequestId(String spotInstanceRequestId)

If the request is a Spot Instance request, the ID of the request.

voidsetSriovNetSupport(String sriovNetSupport)

Specifies whether enhanced networking with the Intel 82599 Virtual Function interface is enabled.

voidsetState(InstanceState state)

The current state of the instance.

voidsetStateReason(StateReason stateReason)

The reason for the most recent state transition.

voidsetStateTransitionReason(String stateTransitionReason)

The reason for the most recent state transition.

voidsetSubnetId(String subnetId)

[EC2-VPC] The ID of the subnet in which the instance is running.

voidsetTags(java.util.Collection tags)

Any tags assigned to the instance.

voidsetVpcId(String vpcId)

[EC2-VPC] The ID of the VPC in which the instance is running.

StringtoString()
Returns a string representation of this object.