com.amazonaws.services.ec2.model
Class Instance

java.lang.Object
  extended by com.amazonaws.services.ec2.model.Instance
All Implemented Interfaces:
java.io.Serializable

public class Instance
extends java.lang.Object
implements java.io.Serializable

Describes an instance.

See Also:
Serialized Form

Constructor Summary
Instance()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.Integer getAmiLaunchIndex()
          The AMI launch index, which can be used to find this instance in the launch group.
 java.lang.String getArchitecture()
          The architecture of the image.
 java.util.List<InstanceBlockDeviceMapping> getBlockDeviceMappings()
          Any block device mapping entries for the instance.
 java.lang.String getClientToken()
          The idempotency token you provided when you launched the instance.
 java.lang.Boolean getEbsOptimized()
          Indicates whether the instance is optimized for EBS I/O.
 java.lang.String getHypervisor()
          The hypervisor type of the instance.
 IamInstanceProfile getIamInstanceProfile()
          The IAM instance profile associated with the instance.
 java.lang.String getImageId()
          The ID of the AMI used to launch the instance.
 java.lang.String getInstanceId()
          The ID of the instance.
 java.lang.String getInstanceLifecycle()
          Indicates whether this is a Spot Instance.
 java.lang.String getInstanceType()
          The instance type.
 java.lang.String getKernelId()
          The kernel associated with this instance.
 java.lang.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 information for the instance.
 java.util.List<InstanceNetworkInterface> getNetworkInterfaces()
          [EC2-VPC] One or more network interfaces for the instance.
 Placement getPlacement()
          The location where the instance launched.
 java.lang.String getPlatform()
          The value is Windows for Windows instances; otherwise blank.
 java.lang.String getPrivateDnsName()
          The private DNS name assigned to the instance.
 java.lang.String getPrivateIpAddress()
          The private IP address assigned to the instance.
 java.util.List<ProductCode> getProductCodes()
          The product codes attached to this instance.
 java.lang.String getPublicDnsName()
          The public DNS name assigned to the instance.
 java.lang.String getPublicIpAddress()
          The public IP address assigned to the instance.
 java.lang.String getRamdiskId()
          The RAM disk associated with this instance.
 java.lang.String getRootDeviceName()
          The root device name (for example, /dev/sda1).
 java.lang.String getRootDeviceType()
          The root device type used by the AMI.
 java.util.List<GroupIdentifier> getSecurityGroups()
          One or more security groups for the instance.
 java.lang.Boolean getSourceDestCheck()
          Specifies whether to enable an instance launched in a VPC to perform NAT.
 java.lang.String getSpotInstanceRequestId()
          The ID of the Spot Instance request.
 java.lang.String getSriovNetSupport()
          Specifies whether enhanced networking is enabled.
 InstanceState getState()
          The current state of the instance.
 StateReason getStateReason()
          The reason for the most recent state transition.
 java.lang.String getStateTransitionReason()
          The reason for the most recent state transition.
 java.lang.String getSubnetId()
          The ID of the subnet in which the instance is running.
 java.util.List<Tag> getTags()
          Any tags assigned to the instance.
 java.lang.String getVirtualizationType()
          The virtualization type of the instance.
 java.lang.String getVpcId()
          The ID of the VPC in which the instance is running.
 int hashCode()
           
 java.lang.Boolean isEbsOptimized()
          Indicates whether the instance is optimized for EBS I/O.
 java.lang.Boolean isSourceDestCheck()
          Specifies whether to enable an instance launched in a VPC to perform NAT.
 void setAmiLaunchIndex(java.lang.Integer amiLaunchIndex)
          The AMI launch index, which can be used to find this instance in the launch group.
 void setArchitecture(ArchitectureValues architecture)
          The architecture of the image.
 void setArchitecture(java.lang.String architecture)
          The architecture of the image.
 void setBlockDeviceMappings(java.util.Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
          Any block device mapping entries for the instance.
 void setClientToken(java.lang.String clientToken)
          The idempotency token you provided when you launched the instance.
 void setEbsOptimized(java.lang.Boolean ebsOptimized)
          Indicates whether the instance is optimized for EBS I/O.
 void setHypervisor(HypervisorType hypervisor)
          The hypervisor type of the instance.
 void setHypervisor(java.lang.String hypervisor)
          The hypervisor type of the instance.
 void setIamInstanceProfile(IamInstanceProfile iamInstanceProfile)
          The IAM instance profile associated with the instance.
 void setImageId(java.lang.String imageId)
          The ID of the AMI used to launch the instance.
 void setInstanceId(java.lang.String instanceId)
          The ID of the instance.
 void setInstanceLifecycle(InstanceLifecycleType instanceLifecycle)
          Indicates whether this is a Spot Instance.
 void setInstanceLifecycle(java.lang.String instanceLifecycle)
          Indicates whether this is a Spot Instance.
 void setInstanceType(InstanceType instanceType)
          The instance type.
 void setInstanceType(java.lang.String instanceType)
          The instance type.
 void setKernelId(java.lang.String kernelId)
          The kernel associated with this instance.
 void setKeyName(java.lang.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 information for the instance.
 void setNetworkInterfaces(java.util.Collection<InstanceNetworkInterface> networkInterfaces)
          [EC2-VPC] One or more network interfaces for the instance.
 void setPlacement(Placement placement)
          The location where the instance launched.
 void setPlatform(PlatformValues platform)
          The value is Windows for Windows instances; otherwise blank.
 void setPlatform(java.lang.String platform)
          The value is Windows for Windows instances; otherwise blank.
 void setPrivateDnsName(java.lang.String privateDnsName)
          The private DNS name assigned to the instance.
 void setPrivateIpAddress(java.lang.String privateIpAddress)
          The private IP address assigned to the instance.
 void setProductCodes(java.util.Collection<ProductCode> productCodes)
          The product codes attached to this instance.
 void setPublicDnsName(java.lang.String publicDnsName)
          The public DNS name assigned to the instance.
 void setPublicIpAddress(java.lang.String publicIpAddress)
          The public IP address assigned to the instance.
 void setRamdiskId(java.lang.String ramdiskId)
          The RAM disk associated with this instance.
 void setRootDeviceName(java.lang.String rootDeviceName)
          The root device name (for example, /dev/sda1).
 void setRootDeviceType(DeviceType rootDeviceType)
          The root device type used by the AMI.
 void setRootDeviceType(java.lang.String rootDeviceType)
          The root device type used by the AMI.
 void setSecurityGroups(java.util.Collection<GroupIdentifier> securityGroups)
          One or more security groups for the instance.
 void setSourceDestCheck(java.lang.Boolean sourceDestCheck)
          Specifies whether to enable an instance launched in a VPC to perform NAT.
 void setSpotInstanceRequestId(java.lang.String spotInstanceRequestId)
          The ID of the Spot Instance request.
 void setSriovNetSupport(java.lang.String sriovNetSupport)
          Specifies whether enhanced networking 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(java.lang.String stateTransitionReason)
          The reason for the most recent state transition.
 void setSubnetId(java.lang.String subnetId)
          The ID of the subnet in which the instance is running.
 void setTags(java.util.Collection<Tag> tags)
          Any tags assigned to the instance.
 void setVirtualizationType(java.lang.String virtualizationType)
          The virtualization type of the instance.
 void setVirtualizationType(VirtualizationType virtualizationType)
          The virtualization type of the instance.
 void setVpcId(java.lang.String vpcId)
          The ID of the VPC in which the instance is running.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Instance withAmiLaunchIndex(java.lang.Integer amiLaunchIndex)
          The AMI launch index, which can be used to find this instance in the launch group.
 Instance withArchitecture(ArchitectureValues architecture)
          The architecture of the image.
 Instance withArchitecture(java.lang.String architecture)
          The architecture of the image.
 Instance withBlockDeviceMappings(java.util.Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
          Any block device mapping entries for the instance.
 Instance withBlockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings)
          Any block device mapping entries for the instance.
 Instance withClientToken(java.lang.String clientToken)
          The idempotency token you provided when you launched the instance.
 Instance withEbsOptimized(java.lang.Boolean ebsOptimized)
          Indicates whether the instance is optimized for EBS I/O.
 Instance withHypervisor(HypervisorType hypervisor)
          The hypervisor type of the instance.
 Instance withHypervisor(java.lang.String hypervisor)
          The hypervisor type of the instance.
 Instance withIamInstanceProfile(IamInstanceProfile iamInstanceProfile)
          The IAM instance profile associated with the instance.
 Instance withImageId(java.lang.String imageId)
          The ID of the AMI used to launch the instance.
 Instance withInstanceId(java.lang.String instanceId)
          The ID of the instance.
 Instance withInstanceLifecycle(InstanceLifecycleType instanceLifecycle)
          Indicates whether this is a Spot Instance.
 Instance withInstanceLifecycle(java.lang.String instanceLifecycle)
          Indicates whether this is a Spot Instance.
 Instance withInstanceType(InstanceType instanceType)
          The instance type.
 Instance withInstanceType(java.lang.String instanceType)
          The instance type.
 Instance withKernelId(java.lang.String kernelId)
          The kernel associated with this instance.
 Instance withKeyName(java.lang.String keyName)
          The name of the key pair, if this instance was launched with an associated key pair.
 Instance withLaunchTime(java.util.Date launchTime)
          The time the instance was launched.
 Instance withMonitoring(Monitoring monitoring)
          The monitoring information for the instance.
 Instance withNetworkInterfaces(java.util.Collection<InstanceNetworkInterface> networkInterfaces)
          [EC2-VPC] One or more network interfaces for the instance.
 Instance withNetworkInterfaces(InstanceNetworkInterface... networkInterfaces)
          [EC2-VPC] One or more network interfaces for the instance.
 Instance withPlacement(Placement placement)
          The location where the instance launched.
 Instance withPlatform(PlatformValues platform)
          The value is Windows for Windows instances; otherwise blank.
 Instance withPlatform(java.lang.String platform)
          The value is Windows for Windows instances; otherwise blank.
 Instance withPrivateDnsName(java.lang.String privateDnsName)
          The private DNS name assigned to the instance.
 Instance withPrivateIpAddress(java.lang.String privateIpAddress)
          The private IP address assigned to the instance.
 Instance withProductCodes(java.util.Collection<ProductCode> productCodes)
          The product codes attached to this instance.
 Instance withProductCodes(ProductCode... productCodes)
          The product codes attached to this instance.
 Instance withPublicDnsName(java.lang.String publicDnsName)
          The public DNS name assigned to the instance.
 Instance withPublicIpAddress(java.lang.String publicIpAddress)
          The public IP address assigned to the instance.
 Instance withRamdiskId(java.lang.String ramdiskId)
          The RAM disk associated with this instance.
 Instance withRootDeviceName(java.lang.String rootDeviceName)
          The root device name (for example, /dev/sda1).
 Instance withRootDeviceType(DeviceType rootDeviceType)
          The root device type used by the AMI.
 Instance withRootDeviceType(java.lang.String rootDeviceType)
          The root device type used by the AMI.
 Instance withSecurityGroups(java.util.Collection<GroupIdentifier> securityGroups)
          One or more security groups for the instance.
 Instance withSecurityGroups(GroupIdentifier... securityGroups)
          One or more security groups for the instance.
 Instance withSourceDestCheck(java.lang.Boolean sourceDestCheck)
          Specifies whether to enable an instance launched in a VPC to perform NAT.
 Instance withSpotInstanceRequestId(java.lang.String spotInstanceRequestId)
          The ID of the Spot Instance request.
 Instance withSriovNetSupport(java.lang.String sriovNetSupport)
          Specifies whether enhanced networking is enabled.
 Instance withState(InstanceState state)
          The current state of the instance.
 Instance withStateReason(StateReason stateReason)
          The reason for the most recent state transition.
 Instance withStateTransitionReason(java.lang.String stateTransitionReason)
          The reason for the most recent state transition.
 Instance withSubnetId(java.lang.String subnetId)
          The ID of the subnet in which the instance is running.
 Instance withTags(java.util.Collection<Tag> tags)
          Any tags assigned to the instance.
 Instance withTags(Tag... tags)
          Any tags assigned to the instance.
 Instance withVirtualizationType(java.lang.String virtualizationType)
          The virtualization type of the instance.
 Instance withVirtualizationType(VirtualizationType virtualizationType)
          The virtualization type of the instance.
 Instance withVpcId(java.lang.String vpcId)
          The ID of the VPC in which the instance is running.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Instance

public Instance()
Method Detail

getInstanceId

public java.lang.String getInstanceId()
The ID of the instance.

Returns:
The ID of the instance.

setInstanceId

public void setInstanceId(java.lang.String instanceId)
The ID of the instance.

Parameters:
instanceId - The ID of the instance.

withInstanceId

public Instance withInstanceId(java.lang.String instanceId)
The ID of the instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
instanceId - The ID of the instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getImageId

public java.lang.String getImageId()
The ID of the AMI used to launch the instance.

Returns:
The ID of the AMI used to launch the instance.

setImageId

public void setImageId(java.lang.String imageId)
The ID of the AMI used to launch the instance.

Parameters:
imageId - The ID of the AMI used to launch the instance.

withImageId

public Instance withImageId(java.lang.String imageId)
The ID of the AMI used to launch the instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
imageId - The ID of the AMI used to launch the instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getState

public InstanceState getState()
The current state of the instance.

Returns:
The current state of the instance.

setState

public void setState(InstanceState state)
The current state of the instance.

Parameters:
state - The current state of the instance.

withState

public Instance withState(InstanceState state)
The current state of the instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
state - The current state of the instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getPrivateDnsName

public java.lang.String getPrivateDnsName()
The private DNS name assigned to the instance. This DNS name can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state.

Returns:
The private DNS name assigned to the instance. This DNS name can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state.

setPrivateDnsName

public void setPrivateDnsName(java.lang.String privateDnsName)
The private DNS name assigned to the instance. This DNS name can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state.

Parameters:
privateDnsName - The private DNS name assigned to the instance. This DNS name can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state.

withPrivateDnsName

public Instance withPrivateDnsName(java.lang.String privateDnsName)
The private DNS name assigned to the instance. This DNS name can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state.

Returns a reference to this object so that method calls can be chained together.

Parameters:
privateDnsName - The private DNS name assigned to the instance. This DNS name can only be used inside the Amazon EC2 network. This name is not available until the instance enters the running state.
Returns:
A reference to this updated object so that method calls can be chained together.

getPublicDnsName

public java.lang.String getPublicDnsName()
The public DNS name assigned to the instance. This name is not available until the instance enters the running state.

Returns:
The public DNS name assigned to the instance. This name is not available until the instance enters the running state.

setPublicDnsName

public void setPublicDnsName(java.lang.String publicDnsName)
The public DNS name assigned to the instance. This name is not available until the instance enters the running state.

Parameters:
publicDnsName - The public DNS name assigned to the instance. This name is not available until the instance enters the running state.

withPublicDnsName

public Instance withPublicDnsName(java.lang.String publicDnsName)
The public DNS name assigned to the instance. This name is not available until the instance enters the running state.

Returns a reference to this object so that method calls can be chained together.

Parameters:
publicDnsName - The public DNS name assigned to the instance. This name is not available until the instance enters the running state.
Returns:
A reference to this updated object so that method calls can be chained together.

getStateTransitionReason

public java.lang.String getStateTransitionReason()
The reason for the most recent state transition. This might be an empty string.

Returns:
The reason for the most recent state transition. This might be an empty string.

setStateTransitionReason

public void setStateTransitionReason(java.lang.String stateTransitionReason)
The reason for the most recent state transition. This might be an empty string.

Parameters:
stateTransitionReason - The reason for the most recent state transition. This might be an empty string.

withStateTransitionReason

public Instance withStateTransitionReason(java.lang.String stateTransitionReason)
The reason for the most recent state transition. This might be an empty string.

Returns a reference to this object so that method calls can be chained together.

Parameters:
stateTransitionReason - The reason for the most recent state transition. This might be an empty string.
Returns:
A reference to this updated object so that method calls can be chained together.

getKeyName

public java.lang.String getKeyName()
The name of the key pair, if this instance was launched with an associated key pair.

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

setKeyName

public void setKeyName(java.lang.String keyName)
The name of the key pair, if this instance was launched with an associated key pair.

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

withKeyName

public Instance withKeyName(java.lang.String keyName)
The name of the key pair, if this instance was launched with an associated key pair.

Returns a reference to this object so that method calls can be chained together.

Parameters:
keyName - The name of the key pair, if this instance was launched with an associated key pair.
Returns:
A reference to this updated object so that method calls can be chained together.

getAmiLaunchIndex

public java.lang.Integer getAmiLaunchIndex()
The AMI launch index, which can be used to find this instance in the launch group.

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

setAmiLaunchIndex

public void setAmiLaunchIndex(java.lang.Integer amiLaunchIndex)
The AMI launch index, which can be used to find this instance in the launch group.

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

withAmiLaunchIndex

public Instance withAmiLaunchIndex(java.lang.Integer amiLaunchIndex)
The AMI launch index, which can be used to find this instance in the launch group.

Returns a reference to this object so that method calls can be chained together.

Parameters:
amiLaunchIndex - The AMI launch index, which can be used to find this instance in the launch group.
Returns:
A reference to this updated object so that method calls can be chained together.

getProductCodes

public java.util.List<ProductCode> getProductCodes()
The product codes attached to this instance.

Returns:
The product codes attached to this instance.

setProductCodes

public void setProductCodes(java.util.Collection<ProductCode> productCodes)
The product codes attached to this instance.

Parameters:
productCodes - The product codes attached to this instance.

withProductCodes

public Instance withProductCodes(ProductCode... productCodes)
The product codes attached to this instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
productCodes - The product codes attached to this instance.
Returns:
A reference to this updated object so that method calls can be chained together.

withProductCodes

public Instance withProductCodes(java.util.Collection<ProductCode> productCodes)
The product codes attached to this instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
productCodes - The product codes attached to this instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getInstanceType

public java.lang.String getInstanceType()
The instance type.

Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge

Returns:
The instance type.
See Also:
InstanceType

setInstanceType

public void setInstanceType(java.lang.String instanceType)
The instance type.

Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge

Parameters:
instanceType - The instance type.
See Also:
InstanceType

withInstanceType

public Instance withInstanceType(java.lang.String instanceType)
The instance type.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge

Parameters:
instanceType - The instance type.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
InstanceType

setInstanceType

public void setInstanceType(InstanceType instanceType)
The instance type.

Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge

Parameters:
instanceType - The instance type.
See Also:
InstanceType

withInstanceType

public Instance withInstanceType(InstanceType instanceType)
The instance type.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m3.medium, m3.large, m3.xlarge, m3.2xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, cr1.8xlarge, i2.xlarge, i2.2xlarge, i2.4xlarge, i2.8xlarge, hi1.4xlarge, hs1.8xlarge, c1.medium, c1.xlarge, c3.large, c3.xlarge, c3.2xlarge, c3.4xlarge, c3.8xlarge, cc1.4xlarge, cc2.8xlarge, g2.2xlarge, cg1.4xlarge, r3.large, r3.xlarge, r3.2xlarge, r3.4xlarge, r3.8xlarge

Parameters:
instanceType - The instance type.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
InstanceType

getLaunchTime

public java.util.Date getLaunchTime()
The time the instance was launched.

Returns:
The time the instance was launched.

setLaunchTime

public void setLaunchTime(java.util.Date launchTime)
The time the instance was launched.

Parameters:
launchTime - The time the instance was launched.

withLaunchTime

public Instance withLaunchTime(java.util.Date launchTime)
The time the instance was launched.

Returns a reference to this object so that method calls can be chained together.

Parameters:
launchTime - The time the instance was launched.
Returns:
A reference to this updated object so that method calls can be chained together.

getPlacement

public Placement getPlacement()
The location where the instance launched.

Returns:
The location where the instance launched.

setPlacement

public void setPlacement(Placement placement)
The location where the instance launched.

Parameters:
placement - The location where the instance launched.

withPlacement

public Instance withPlacement(Placement placement)
The location where the instance launched.

Returns a reference to this object so that method calls can be chained together.

Parameters:
placement - The location where the instance launched.
Returns:
A reference to this updated object so that method calls can be chained together.

getKernelId

public java.lang.String getKernelId()
The kernel associated with this instance.

Returns:
The kernel associated with this instance.

setKernelId

public void setKernelId(java.lang.String kernelId)
The kernel associated with this instance.

Parameters:
kernelId - The kernel associated with this instance.

withKernelId

public Instance withKernelId(java.lang.String kernelId)
The kernel associated with this instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
kernelId - The kernel associated with this instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getRamdiskId

public java.lang.String getRamdiskId()
The RAM disk associated with this instance.

Returns:
The RAM disk associated with this instance.

setRamdiskId

public void setRamdiskId(java.lang.String ramdiskId)
The RAM disk associated with this instance.

Parameters:
ramdiskId - The RAM disk associated with this instance.

withRamdiskId

public Instance withRamdiskId(java.lang.String ramdiskId)
The RAM disk associated with this instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
ramdiskId - The RAM disk associated with this instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getPlatform

public java.lang.String getPlatform()
The value is Windows for Windows instances; otherwise blank.

Constraints:
Allowed Values: Windows

Returns:
The value is Windows for Windows instances; otherwise blank.
See Also:
PlatformValues

setPlatform

public void setPlatform(java.lang.String platform)
The value is Windows for Windows instances; otherwise blank.

Constraints:
Allowed Values: Windows

Parameters:
platform - The value is Windows for Windows instances; otherwise blank.
See Also:
PlatformValues

withPlatform

public Instance withPlatform(java.lang.String platform)
The value is Windows for Windows instances; otherwise blank.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: Windows

Parameters:
platform - The value is Windows for Windows instances; otherwise blank.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
PlatformValues

setPlatform

public void setPlatform(PlatformValues platform)
The value is Windows for Windows instances; otherwise blank.

Constraints:
Allowed Values: Windows

Parameters:
platform - The value is Windows for Windows instances; otherwise blank.
See Also:
PlatformValues

withPlatform

public Instance withPlatform(PlatformValues platform)
The value is Windows for Windows instances; otherwise blank.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: Windows

Parameters:
platform - The value is Windows for Windows instances; otherwise blank.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
PlatformValues

getMonitoring

public Monitoring getMonitoring()
The monitoring information for the instance.

Returns:
The monitoring information for the instance.

setMonitoring

public void setMonitoring(Monitoring monitoring)
The monitoring information for the instance.

Parameters:
monitoring - The monitoring information for the instance.

withMonitoring

public Instance withMonitoring(Monitoring monitoring)
The monitoring information for the instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
monitoring - The monitoring information for the instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getSubnetId

public java.lang.String getSubnetId()
The ID of the subnet in which the instance is running.

Returns:
The ID of the subnet in which the instance is running.

setSubnetId

public void setSubnetId(java.lang.String subnetId)
The ID of the subnet in which the instance is running.

Parameters:
subnetId - The ID of the subnet in which the instance is running.

withSubnetId

public Instance withSubnetId(java.lang.String subnetId)
The ID of the subnet in which the instance is running.

Returns a reference to this object so that method calls can be chained together.

Parameters:
subnetId - The ID of the subnet in which the instance is running.
Returns:
A reference to this updated object so that method calls can be chained together.

getVpcId

public java.lang.String getVpcId()
The ID of the VPC in which the instance is running.

Returns:
The ID of the VPC in which the instance is running.

setVpcId

public void setVpcId(java.lang.String vpcId)
The ID of the VPC in which the instance is running.

Parameters:
vpcId - The ID of the VPC in which the instance is running.

withVpcId

public Instance withVpcId(java.lang.String vpcId)
The ID of the VPC in which the instance is running.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vpcId - The ID of the VPC in which the instance is running.
Returns:
A reference to this updated object so that method calls can be chained together.

getPrivateIpAddress

public java.lang.String getPrivateIpAddress()
The private IP address assigned to the instance.

Returns:
The private IP address assigned to the instance.

setPrivateIpAddress

public void setPrivateIpAddress(java.lang.String privateIpAddress)
The private IP address assigned to the instance.

Parameters:
privateIpAddress - The private IP address assigned to the instance.

withPrivateIpAddress

public Instance withPrivateIpAddress(java.lang.String privateIpAddress)
The private IP address assigned to the instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
privateIpAddress - The private IP address assigned to the instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getPublicIpAddress

public java.lang.String getPublicIpAddress()
The public IP address assigned to the instance.

Returns:
The public IP address assigned to the instance.

setPublicIpAddress

public void setPublicIpAddress(java.lang.String publicIpAddress)
The public IP address assigned to the instance.

Parameters:
publicIpAddress - The public IP address assigned to the instance.

withPublicIpAddress

public Instance withPublicIpAddress(java.lang.String publicIpAddress)
The public IP address assigned to the instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
publicIpAddress - The public IP address assigned to the instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getStateReason

public StateReason getStateReason()
The reason for the most recent state transition.

Returns:
The reason for the most recent state transition.

setStateReason

public void setStateReason(StateReason stateReason)
The reason for the most recent state transition.

Parameters:
stateReason - The reason for the most recent state transition.

withStateReason

public Instance withStateReason(StateReason stateReason)
The reason for the most recent state transition.

Returns a reference to this object so that method calls can be chained together.

Parameters:
stateReason - The reason for the most recent state transition.
Returns:
A reference to this updated object so that method calls can be chained together.

getArchitecture

public java.lang.String getArchitecture()
The architecture of the image.

Constraints:
Allowed Values: i386, x86_64

Returns:
The architecture of the image.
See Also:
ArchitectureValues

setArchitecture

public void setArchitecture(java.lang.String architecture)
The architecture of the image.

Constraints:
Allowed Values: i386, x86_64

Parameters:
architecture - The architecture of the image.
See Also:
ArchitectureValues

withArchitecture

public Instance withArchitecture(java.lang.String architecture)
The architecture of the image.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: i386, x86_64

Parameters:
architecture - The architecture of the image.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ArchitectureValues

setArchitecture

public void setArchitecture(ArchitectureValues architecture)
The architecture of the image.

Constraints:
Allowed Values: i386, x86_64

Parameters:
architecture - The architecture of the image.
See Also:
ArchitectureValues

withArchitecture

public Instance withArchitecture(ArchitectureValues architecture)
The architecture of the image.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: i386, x86_64

Parameters:
architecture - The architecture of the image.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
ArchitectureValues

getRootDeviceType

public java.lang.String getRootDeviceType()
The root device type used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.

Constraints:
Allowed Values: ebs, instance-store

Returns:
The root device type used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.
See Also:
DeviceType

setRootDeviceType

public void setRootDeviceType(java.lang.String rootDeviceType)
The root device type used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.

Constraints:
Allowed Values: ebs, instance-store

Parameters:
rootDeviceType - The root device type used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.
See Also:
DeviceType

withRootDeviceType

public Instance withRootDeviceType(java.lang.String rootDeviceType)
The root device type used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: ebs, instance-store

Parameters:
rootDeviceType - The root device type used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
DeviceType

setRootDeviceType

public void setRootDeviceType(DeviceType rootDeviceType)
The root device type used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.

Constraints:
Allowed Values: ebs, instance-store

Parameters:
rootDeviceType - The root device type used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.
See Also:
DeviceType

withRootDeviceType

public Instance withRootDeviceType(DeviceType rootDeviceType)
The root device type used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: ebs, instance-store

Parameters:
rootDeviceType - The root device type used by the AMI. The AMI can use an Amazon EBS volume or an instance store volume.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
DeviceType

getRootDeviceName

public java.lang.String getRootDeviceName()
The root device name (for example, /dev/sda1).

Returns:
The root device name (for example, /dev/sda1).

setRootDeviceName

public void setRootDeviceName(java.lang.String rootDeviceName)
The root device name (for example, /dev/sda1).

Parameters:
rootDeviceName - The root device name (for example, /dev/sda1).

withRootDeviceName

public Instance withRootDeviceName(java.lang.String rootDeviceName)
The root device name (for example, /dev/sda1).

Returns a reference to this object so that method calls can be chained together.

Parameters:
rootDeviceName - The root device name (for example, /dev/sda1).
Returns:
A reference to this updated object so that method calls can be chained together.

getBlockDeviceMappings

public java.util.List<InstanceBlockDeviceMapping> getBlockDeviceMappings()
Any block device mapping entries for the instance.

Returns:
Any block device mapping entries for the instance.

setBlockDeviceMappings

public void setBlockDeviceMappings(java.util.Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
Any block device mapping entries for the instance.

Parameters:
blockDeviceMappings - Any block device mapping entries for the instance.

withBlockDeviceMappings

public Instance withBlockDeviceMappings(InstanceBlockDeviceMapping... blockDeviceMappings)
Any block device mapping entries for the instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
blockDeviceMappings - Any block device mapping entries for the instance.
Returns:
A reference to this updated object so that method calls can be chained together.

withBlockDeviceMappings

public Instance withBlockDeviceMappings(java.util.Collection<InstanceBlockDeviceMapping> blockDeviceMappings)
Any block device mapping entries for the instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
blockDeviceMappings - Any block device mapping entries for the instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getVirtualizationType

public java.lang.String getVirtualizationType()
The virtualization type of the instance.

Constraints:
Allowed Values: hvm, paravirtual

Returns:
The virtualization type of the instance.
See Also:
VirtualizationType

setVirtualizationType

public void setVirtualizationType(java.lang.String virtualizationType)
The virtualization type of the instance.

Constraints:
Allowed Values: hvm, paravirtual

Parameters:
virtualizationType - The virtualization type of the instance.
See Also:
VirtualizationType

withVirtualizationType

public Instance withVirtualizationType(java.lang.String virtualizationType)
The virtualization type of the instance.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: hvm, paravirtual

Parameters:
virtualizationType - The virtualization type of the instance.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
VirtualizationType

setVirtualizationType

public void setVirtualizationType(VirtualizationType virtualizationType)
The virtualization type of the instance.

Constraints:
Allowed Values: hvm, paravirtual

Parameters:
virtualizationType - The virtualization type of the instance.
See Also:
VirtualizationType

withVirtualizationType

public Instance withVirtualizationType(VirtualizationType virtualizationType)
The virtualization type of the instance.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: hvm, paravirtual

Parameters:
virtualizationType - The virtualization type of the instance.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
VirtualizationType

getInstanceLifecycle

public java.lang.String getInstanceLifecycle()
Indicates whether this is a Spot Instance.

Constraints:
Allowed Values: spot

Returns:
Indicates whether this is a Spot Instance.
See Also:
InstanceLifecycleType

setInstanceLifecycle

public void setInstanceLifecycle(java.lang.String instanceLifecycle)
Indicates whether this is a Spot Instance.

Constraints:
Allowed Values: spot

Parameters:
instanceLifecycle - Indicates whether this is a Spot Instance.
See Also:
InstanceLifecycleType

withInstanceLifecycle

public Instance withInstanceLifecycle(java.lang.String instanceLifecycle)
Indicates whether this is a Spot Instance.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: spot

Parameters:
instanceLifecycle - Indicates whether this is a Spot Instance.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
InstanceLifecycleType

setInstanceLifecycle

public void setInstanceLifecycle(InstanceLifecycleType instanceLifecycle)
Indicates whether this is a Spot Instance.

Constraints:
Allowed Values: spot

Parameters:
instanceLifecycle - Indicates whether this is a Spot Instance.
See Also:
InstanceLifecycleType

withInstanceLifecycle

public Instance withInstanceLifecycle(InstanceLifecycleType instanceLifecycle)
Indicates whether this is a Spot Instance.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: spot

Parameters:
instanceLifecycle - Indicates whether this is a Spot Instance.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
InstanceLifecycleType

getSpotInstanceRequestId

public java.lang.String getSpotInstanceRequestId()
The ID of the Spot Instance request.

Returns:
The ID of the Spot Instance request.

setSpotInstanceRequestId

public void setSpotInstanceRequestId(java.lang.String spotInstanceRequestId)
The ID of the Spot Instance request.

Parameters:
spotInstanceRequestId - The ID of the Spot Instance request.

withSpotInstanceRequestId

public Instance withSpotInstanceRequestId(java.lang.String spotInstanceRequestId)
The ID of the Spot Instance request.

Returns a reference to this object so that method calls can be chained together.

Parameters:
spotInstanceRequestId - The ID of the Spot Instance request.
Returns:
A reference to this updated object so that method calls can be chained together.

getClientToken

public java.lang.String getClientToken()
The idempotency token you provided when you launched the instance.

Returns:
The idempotency token you provided when you launched the instance.

setClientToken

public void setClientToken(java.lang.String clientToken)
The idempotency token you provided when you launched the instance.

Parameters:
clientToken - The idempotency token you provided when you launched the instance.

withClientToken

public Instance withClientToken(java.lang.String clientToken)
The idempotency token you provided when you launched the instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
clientToken - The idempotency token you provided when you launched the instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getTags

public java.util.List<Tag> getTags()
Any tags assigned to the instance.

Returns:
Any tags assigned to the instance.

setTags

public void setTags(java.util.Collection<Tag> tags)
Any tags assigned to the instance.

Parameters:
tags - Any tags assigned to the instance.

withTags

public Instance withTags(Tag... tags)
Any tags assigned to the instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
tags - Any tags assigned to the instance.
Returns:
A reference to this updated object so that method calls can be chained together.

withTags

public Instance withTags(java.util.Collection<Tag> tags)
Any tags assigned to the instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
tags - Any tags assigned to the instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getSecurityGroups

public java.util.List<GroupIdentifier> getSecurityGroups()
One or more security groups for the instance.

Returns:
One or more security groups for the instance.

setSecurityGroups

public void setSecurityGroups(java.util.Collection<GroupIdentifier> securityGroups)
One or more security groups for the instance.

Parameters:
securityGroups - One or more security groups for the instance.

withSecurityGroups

public Instance withSecurityGroups(GroupIdentifier... securityGroups)
One or more security groups for the instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
securityGroups - One or more security groups for the instance.
Returns:
A reference to this updated object so that method calls can be chained together.

withSecurityGroups

public Instance withSecurityGroups(java.util.Collection<GroupIdentifier> securityGroups)
One or more security groups for the instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
securityGroups - One or more security groups for the instance.
Returns:
A reference to this updated object so that method calls can be chained together.

isSourceDestCheck

public java.lang.Boolean isSourceDestCheck()
Specifies whether to enable an instance launched in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

Returns:
Specifies whether to enable an instance launched in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

setSourceDestCheck

public void setSourceDestCheck(java.lang.Boolean sourceDestCheck)
Specifies whether to enable an instance launched in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

Parameters:
sourceDestCheck - Specifies whether to enable an instance launched in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

withSourceDestCheck

public Instance withSourceDestCheck(java.lang.Boolean sourceDestCheck)
Specifies whether to enable an instance launched in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

Returns a reference to this object so that method calls can be chained together.

Parameters:
sourceDestCheck - Specifies whether to enable an instance launched in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.
Returns:
A reference to this updated object so that method calls can be chained together.

getSourceDestCheck

public java.lang.Boolean getSourceDestCheck()
Specifies whether to enable an instance launched in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

Returns:
Specifies whether to enable an instance launched in a VPC to perform NAT. This controls whether source/destination checking is enabled on the instance. A value of true means checking is enabled, and false means checking is disabled. The value must be false for the instance to perform NAT. For more information, see NAT Instances in the Amazon Virtual Private Cloud User Guide.

getHypervisor

public java.lang.String getHypervisor()
The hypervisor type of the instance.

Constraints:
Allowed Values: ovm, xen

Returns:
The hypervisor type of the instance.
See Also:
HypervisorType

setHypervisor

public void setHypervisor(java.lang.String hypervisor)
The hypervisor type of the instance.

Constraints:
Allowed Values: ovm, xen

Parameters:
hypervisor - The hypervisor type of the instance.
See Also:
HypervisorType

withHypervisor

public Instance withHypervisor(java.lang.String hypervisor)
The hypervisor type of the instance.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: ovm, xen

Parameters:
hypervisor - The hypervisor type of the instance.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
HypervisorType

setHypervisor

public void setHypervisor(HypervisorType hypervisor)
The hypervisor type of the instance.

Constraints:
Allowed Values: ovm, xen

Parameters:
hypervisor - The hypervisor type of the instance.
See Also:
HypervisorType

withHypervisor

public Instance withHypervisor(HypervisorType hypervisor)
The hypervisor type of the instance.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Allowed Values: ovm, xen

Parameters:
hypervisor - The hypervisor type of the instance.
Returns:
A reference to this updated object so that method calls can be chained together.
See Also:
HypervisorType

getNetworkInterfaces

public java.util.List<InstanceNetworkInterface> getNetworkInterfaces()
[EC2-VPC] One or more network interfaces for the instance.

Returns:
[EC2-VPC] One or more network interfaces for the instance.

setNetworkInterfaces

public void setNetworkInterfaces(java.util.Collection<InstanceNetworkInterface> networkInterfaces)
[EC2-VPC] One or more network interfaces for the instance.

Parameters:
networkInterfaces - [EC2-VPC] One or more network interfaces for the instance.

withNetworkInterfaces

public Instance withNetworkInterfaces(InstanceNetworkInterface... networkInterfaces)
[EC2-VPC] One or more network interfaces for the instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
networkInterfaces - [EC2-VPC] One or more network interfaces for the instance.
Returns:
A reference to this updated object so that method calls can be chained together.

withNetworkInterfaces

public Instance withNetworkInterfaces(java.util.Collection<InstanceNetworkInterface> networkInterfaces)
[EC2-VPC] One or more network interfaces for the instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
networkInterfaces - [EC2-VPC] One or more network interfaces for the instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getIamInstanceProfile

public IamInstanceProfile getIamInstanceProfile()
The IAM instance profile associated with the instance.

Returns:
The IAM instance profile associated with the instance.

setIamInstanceProfile

public void setIamInstanceProfile(IamInstanceProfile iamInstanceProfile)
The IAM instance profile associated with the instance.

Parameters:
iamInstanceProfile - The IAM instance profile associated with the instance.

withIamInstanceProfile

public Instance withIamInstanceProfile(IamInstanceProfile iamInstanceProfile)
The IAM instance profile associated with the instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
iamInstanceProfile - The IAM instance profile associated with the instance.
Returns:
A reference to this updated object so that method calls can be chained together.

isEbsOptimized

public java.lang.Boolean isEbsOptimized()
Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Returns:
Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

setEbsOptimized

public void setEbsOptimized(java.lang.Boolean ebsOptimized)
Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Parameters:
ebsOptimized - Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

withEbsOptimized

public Instance withEbsOptimized(java.lang.Boolean ebsOptimized)
Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Returns a reference to this object so that method calls can be chained together.

Parameters:
ebsOptimized - Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.
Returns:
A reference to this updated object so that method calls can be chained together.

getEbsOptimized

public java.lang.Boolean getEbsOptimized()
Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

Returns:
Indicates whether the instance is optimized for EBS I/O. This optimization provides dedicated throughput to Amazon EBS and an optimized configuration stack to provide optimal I/O performance. This optimization isn't available with all instance types. Additional usage charges apply when using an EBS Optimized instance.

getSriovNetSupport

public java.lang.String getSriovNetSupport()
Specifies whether enhanced networking is enabled.

Returns:
Specifies whether enhanced networking is enabled.

setSriovNetSupport

public void setSriovNetSupport(java.lang.String sriovNetSupport)
Specifies whether enhanced networking is enabled.

Parameters:
sriovNetSupport - Specifies whether enhanced networking is enabled.

withSriovNetSupport

public Instance withSriovNetSupport(java.lang.String sriovNetSupport)
Specifies whether enhanced networking is enabled.

Returns a reference to this object so that method calls can be chained together.

Parameters:
sriovNetSupport - Specifies whether enhanced networking is enabled.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.