|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.RunInstancesRequest
public class RunInstancesRequest
Container for the parameters to the RunInstances operation
.
The RunInstances operation launches a specified number of instances.
If Amazon EC2 cannot launch the minimum number AMIs you request, no instances launch. If there is insufficient capacity to launch the maximum number of AMIs you request, Amazon EC2 launches as many as possible to satisfy the requested maximum values.
Every instance is launched in a security group. If you do not specify a security group at launch, the instances start in your default security group. For more information on creating security groups, see CreateSecurityGroup.
An optional instance type can be specified. For information about instance types, see Instance Types.
You can provide an optional key pair ID for each image in the launch request (for more information, see CreateKeyPair). All instances that are created from images that use this key pair will have access to the associated public key at boot. You can use this key to provide secure access to an instance of an image on a per-instance basis. Amazon EC2 public images use this feature to provide secure access without passwords.
IMPORTANT: Launching public images without a key pair ID will leave them inaccessible. The public key material is made available to the instance at boot time by placing it in the openssh_id.pub file on a logical device that is exposed to the instance as /dev/sda2 (the ephemeral store). The format of this file is suitable for use as an entry within ~/.ssh/authorized_keys (the OpenSSH format). This can be done at boot (e.g., as part of rc.local) allowing for secure access without passwords. Optional user data can be provided in the launch request. All instances that collectively comprise the launch request have access to this data For more information, see Instance Metadata.
NOTE: If any of the AMIs have a product code attached for which the user has not subscribed, the RunInstances call will fail.
IMPORTANT: We strongly recommend using the 2.6.18 Xen stock kernel with the c1.medium and c1.xlarge instances. Although the default Amazon EC2 kernels will work, the new kernels provide greater stability and performance for these instance types. For more information about kernels, see Kernels, RAM Disks, and Block Device Mappings.
AmazonEC2.runInstances(RunInstancesRequest)
Constructor Summary | |
---|---|
RunInstancesRequest()
Default constructor for a new RunInstancesRequest object. |
|
RunInstancesRequest(String imageId,
Integer minCount,
Integer maxCount)
Constructs a new RunInstancesRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAdditionalInfo()
Returns the value of the AdditionalInfo property for this object. |
String |
getAddressingType()
Returns the value of the AddressingType property for this object. |
List<BlockDeviceMapping> |
getBlockDeviceMappings()
Specifies how block devices are exposed to the instance. |
String |
getClientToken()
Unique, case-sensitive identifier you provide to ensure idempotency of the request. |
Boolean |
getDisableApiTermination()
Specifies whether the instance can be terminated using the APIs. |
Boolean |
getEbsOptimized()
Returns the value of the EbsOptimized property for this object. |
IamInstanceProfileSpecification |
getIamInstanceProfile()
Returns the value of the IamInstanceProfile property for this object. |
String |
getImageId()
Unique ID of a machine image, returned by a call to DescribeImages. |
String |
getInstanceInitiatedShutdownBehavior()
Specifies whether the instance's Amazon EBS volumes are stopped or terminated when the instance is shut down. |
String |
getInstanceType()
Specifies the instance type for the launched instances. |
String |
getKernelId()
The ID of the kernel with which to launch the instance. |
String |
getKeyName()
The name of the key pair. |
InstanceLicenseSpecification |
getLicense()
Specifies active licenses in use and attached to an Amazon EC2 instance. |
Integer |
getMaxCount()
Maximum number of instances to launch. |
Integer |
getMinCount()
Minimum number of instances to launch. |
Boolean |
getMonitoring()
Enables monitoring for the instance. |
List<InstanceNetworkInterfaceSpecification> |
getNetworkInterfaces()
Returns the value of the NetworkInterfaces property for this object. |
Placement |
getPlacement()
Specifies the placement constraints (Availability Zones) for launching the instances. |
String |
getPrivateIpAddress()
If you're using Amazon Virtual Private Cloud, you can optionally use this parameter to assign the instance a specific available IP address from the subnet. |
String |
getRamdiskId()
The ID of the RAM disk with which to launch the instance. |
List<String> |
getSecurityGroupIds()
Returns the value of the SecurityGroupIds property for this object. |
List<String> |
getSecurityGroups()
The names of the security groups into which the instances will be launched. |
String |
getSubnetId()
Specifies the subnet ID within which to launch the instance(s) for Amazon Virtual Private Cloud. |
String |
getUserData()
Specifies additional information to make available to the instance(s). |
int |
hashCode()
|
Boolean |
isDisableApiTermination()
Specifies whether the instance can be terminated using the APIs. |
Boolean |
isEbsOptimized()
Returns the value of the EbsOptimized property for this object. |
Boolean |
isMonitoring()
Enables monitoring for the instance. |
void |
setAdditionalInfo(String additionalInfo)
Sets the value of the AdditionalInfo property for this object. |
void |
setAddressingType(String addressingType)
Sets the value of the AddressingType property for this object. |
void |
setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
Specifies how block devices are exposed to the instance. |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of the request. |
void |
setDisableApiTermination(Boolean disableApiTermination)
Specifies whether the instance can be terminated using the APIs. |
void |
setEbsOptimized(Boolean ebsOptimized)
Sets the value of the EbsOptimized property for this object. |
void |
setIamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile)
Sets the value of the IamInstanceProfile property for this object. |
void |
setImageId(String imageId)
Unique ID of a machine image, returned by a call to DescribeImages. |
void |
setInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Specifies whether the instance's Amazon EBS volumes are stopped or terminated when the instance is shut down. |
void |
setInstanceType(InstanceType instanceType)
Specifies the instance type for the launched instances. |
void |
setInstanceType(String instanceType)
Specifies the instance type for the launched instances. |
void |
setKernelId(String kernelId)
The ID of the kernel with which to launch the instance. |
void |
setKeyName(String keyName)
The name of the key pair. |
void |
setLicense(InstanceLicenseSpecification license)
Specifies active licenses in use and attached to an Amazon EC2 instance. |
void |
setMaxCount(Integer maxCount)
Maximum number of instances to launch. |
void |
setMinCount(Integer minCount)
Minimum number of instances to launch. |
void |
setMonitoring(Boolean monitoring)
Enables monitoring for the instance. |
void |
setNetworkInterfaces(Collection<InstanceNetworkInterfaceSpecification> networkInterfaces)
Sets the value of the NetworkInterfaces property for this object. |
void |
setPlacement(Placement placement)
Specifies the placement constraints (Availability Zones) for launching the instances. |
void |
setPrivateIpAddress(String privateIpAddress)
If you're using Amazon Virtual Private Cloud, you can optionally use this parameter to assign the instance a specific available IP address from the subnet. |
void |
setRamdiskId(String ramdiskId)
The ID of the RAM disk with which to launch the instance. |
void |
setSecurityGroupIds(Collection<String> securityGroupIds)
Sets the value of the SecurityGroupIds property for this object. |
void |
setSecurityGroups(Collection<String> securityGroups)
The names of the security groups into which the instances will be launched. |
void |
setSubnetId(String subnetId)
Specifies the subnet ID within which to launch the instance(s) for Amazon Virtual Private Cloud. |
void |
setUserData(String userData)
Specifies additional information to make available to the instance(s). |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
RunInstancesRequest |
withAdditionalInfo(String additionalInfo)
Sets the value of the AdditionalInfo property for this object. |
RunInstancesRequest |
withAddressingType(String addressingType)
Sets the value of the AddressingType property for this object. |
RunInstancesRequest |
withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
Specifies how block devices are exposed to the instance. |
RunInstancesRequest |
withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
Specifies how block devices are exposed to the instance. |
RunInstancesRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier you provide to ensure idempotency of the request. |
RunInstancesRequest |
withDisableApiTermination(Boolean disableApiTermination)
Specifies whether the instance can be terminated using the APIs. |
RunInstancesRequest |
withEbsOptimized(Boolean ebsOptimized)
Sets the value of the EbsOptimized property for this object. |
RunInstancesRequest |
withIamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile)
Sets the value of the IamInstanceProfile property for this object. |
RunInstancesRequest |
withImageId(String imageId)
Unique ID of a machine image, returned by a call to DescribeImages. |
RunInstancesRequest |
withInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Specifies whether the instance's Amazon EBS volumes are stopped or terminated when the instance is shut down. |
RunInstancesRequest |
withInstanceType(InstanceType instanceType)
Specifies the instance type for the launched instances. |
RunInstancesRequest |
withInstanceType(String instanceType)
Specifies the instance type for the launched instances. |
RunInstancesRequest |
withKernelId(String kernelId)
The ID of the kernel with which to launch the instance. |
RunInstancesRequest |
withKeyName(String keyName)
The name of the key pair. |
RunInstancesRequest |
withLicense(InstanceLicenseSpecification license)
Specifies active licenses in use and attached to an Amazon EC2 instance. |
RunInstancesRequest |
withMaxCount(Integer maxCount)
Maximum number of instances to launch. |
RunInstancesRequest |
withMinCount(Integer minCount)
Minimum number of instances to launch. |
RunInstancesRequest |
withMonitoring(Boolean monitoring)
Enables monitoring for the instance. |
RunInstancesRequest |
withNetworkInterfaces(Collection<InstanceNetworkInterfaceSpecification> networkInterfaces)
Sets the value of the NetworkInterfaces property for this object. |
RunInstancesRequest |
withNetworkInterfaces(InstanceNetworkInterfaceSpecification... networkInterfaces)
Sets the value of the NetworkInterfaces property for this object. |
RunInstancesRequest |
withPlacement(Placement placement)
Specifies the placement constraints (Availability Zones) for launching the instances. |
RunInstancesRequest |
withPrivateIpAddress(String privateIpAddress)
If you're using Amazon Virtual Private Cloud, you can optionally use this parameter to assign the instance a specific available IP address from the subnet. |
RunInstancesRequest |
withRamdiskId(String ramdiskId)
The ID of the RAM disk with which to launch the instance. |
RunInstancesRequest |
withSecurityGroupIds(Collection<String> securityGroupIds)
Sets the value of the SecurityGroupIds property for this object. |
RunInstancesRequest |
withSecurityGroupIds(String... securityGroupIds)
Sets the value of the SecurityGroupIds property for this object. |
RunInstancesRequest |
withSecurityGroups(Collection<String> securityGroups)
The names of the security groups into which the instances will be launched. |
RunInstancesRequest |
withSecurityGroups(String... securityGroups)
The names of the security groups into which the instances will be launched. |
RunInstancesRequest |
withSubnetId(String subnetId)
Specifies the subnet ID within which to launch the instance(s) for Amazon Virtual Private Cloud. |
RunInstancesRequest |
withUserData(String userData)
Specifies additional information to make available to the instance(s). |
Methods inherited from class com.amazonaws.AmazonWebServiceRequest |
---|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, setDelegationToken, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RunInstancesRequest()
public RunInstancesRequest(String imageId, Integer minCount, Integer maxCount)
imageId
- Unique ID of a machine image, returned by a call to
DescribeImages.minCount
- Minimum number of instances to launch. If the value is
more than Amazon EC2 can launch, no instances are launched at all.maxCount
- Maximum number of instances to launch. If the value is
more than Amazon EC2 can launch, the largest possible number above
minCount will be launched instead. Between 1 and the maximum number allowed for your account (default: 20).
Method Detail |
---|
public String getImageId()
public void setImageId(String imageId)
imageId
- Unique ID of a machine image, returned by a call to DescribeImages.public RunInstancesRequest withImageId(String imageId)
Returns a reference to this object so that method calls can be chained together.
imageId
- Unique ID of a machine image, returned by a call to DescribeImages.
public Integer getMinCount()
public void setMinCount(Integer minCount)
minCount
- Minimum number of instances to launch. If the value is more than
Amazon EC2 can launch, no instances are launched at all.public RunInstancesRequest withMinCount(Integer minCount)
Returns a reference to this object so that method calls can be chained together.
minCount
- Minimum number of instances to launch. If the value is more than
Amazon EC2 can launch, no instances are launched at all.
public Integer getMaxCount()
Between 1 and the maximum number allowed for your account (default: 20).
Between 1 and the maximum number allowed for your account (default: 20).
public void setMaxCount(Integer maxCount)
Between 1 and the maximum number allowed for your account (default: 20).
maxCount
- Maximum number of instances to launch. If the value is more than
Amazon EC2 can launch, the largest possible number above minCount will
be launched instead. Between 1 and the maximum number allowed for your account (default: 20).
public RunInstancesRequest withMaxCount(Integer maxCount)
Between 1 and the maximum number allowed for your account (default: 20).
Returns a reference to this object so that method calls can be chained together.
maxCount
- Maximum number of instances to launch. If the value is more than
Amazon EC2 can launch, the largest possible number above minCount will
be launched instead. Between 1 and the maximum number allowed for your account (default: 20).
public String getKeyName()
public void setKeyName(String keyName)
keyName
- The name of the key pair.public RunInstancesRequest withKeyName(String keyName)
Returns a reference to this object so that method calls can be chained together.
keyName
- The name of the key pair.
public List<String> getSecurityGroups()
public void setSecurityGroups(Collection<String> securityGroups)
securityGroups
- The names of the security groups into which the instances will be
launched.public RunInstancesRequest withSecurityGroups(String... securityGroups)
Returns a reference to this object so that method calls can be chained together.
securityGroups
- The names of the security groups into which the instances will be
launched.
public RunInstancesRequest withSecurityGroups(Collection<String> securityGroups)
Returns a reference to this object so that method calls can be chained together.
securityGroups
- The names of the security groups into which the instances will be
launched.
public List<String> getSecurityGroupIds()
public void setSecurityGroupIds(Collection<String> securityGroupIds)
securityGroupIds
- The new value for the SecurityGroupIds property for this object.public RunInstancesRequest withSecurityGroupIds(String... securityGroupIds)
Returns a reference to this object so that method calls can be chained together.
securityGroupIds
- The new value for the SecurityGroupIds property for this object.
public RunInstancesRequest withSecurityGroupIds(Collection<String> securityGroupIds)
Returns a reference to this object so that method calls can be chained together.
securityGroupIds
- The new value for the SecurityGroupIds property for this object.
public String getUserData()
public void setUserData(String userData)
userData
- Specifies additional information to make available to the instance(s).public RunInstancesRequest withUserData(String userData)
Returns a reference to this object so that method calls can be chained together.
userData
- Specifies additional information to make available to the instance(s).
public String getAddressingType()
public void setAddressingType(String addressingType)
addressingType
- The new value for the AddressingType property for this object.public RunInstancesRequest withAddressingType(String addressingType)
Returns a reference to this object so that method calls can be chained together.
addressingType
- The new value for the AddressingType property for this object.
public String getInstanceType()
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
InstanceType
public void setInstanceType(String instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType
- Specifies the instance type for the launched instances.InstanceType
public RunInstancesRequest withInstanceType(String instanceType)
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, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType
- Specifies the instance type for the launched instances.
InstanceType
public void setInstanceType(InstanceType instanceType)
Constraints:
Allowed Values: t1.micro, m1.small, m1.medium, m1.large, m1.xlarge, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType
- Specifies the instance type for the launched instances.InstanceType
public RunInstancesRequest withInstanceType(InstanceType instanceType)
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, m2.xlarge, m2.2xlarge, m2.4xlarge, c1.medium, c1.xlarge, hi1.4xlarge, cc1.4xlarge, cc2.8xlarge, cg1.4xlarge
instanceType
- Specifies the instance type for the launched instances.
InstanceType
public Placement getPlacement()
public void setPlacement(Placement placement)
placement
- Specifies the placement constraints (Availability Zones) for launching
the instances.public RunInstancesRequest withPlacement(Placement placement)
Returns a reference to this object so that method calls can be chained together.
placement
- Specifies the placement constraints (Availability Zones) for launching
the instances.
public String getKernelId()
public void setKernelId(String kernelId)
kernelId
- The ID of the kernel with which to launch the instance.public RunInstancesRequest withKernelId(String kernelId)
Returns a reference to this object so that method calls can be chained together.
kernelId
- The ID of the kernel with which to launch the instance.
public String getRamdiskId()
public void setRamdiskId(String ramdiskId)
ramdiskId
- The ID of the RAM disk with which to launch the instance. Some kernels
require additional drivers at launch. Check the kernel requirements
for information on whether you need to specify a RAM disk. To find
kernel requirements, go to the Resource Center and search for the
kernel ID.public RunInstancesRequest withRamdiskId(String ramdiskId)
Returns a reference to this object so that method calls can be chained together.
ramdiskId
- The ID of the RAM disk with which to launch the instance. Some kernels
require additional drivers at launch. Check the kernel requirements
for information on whether you need to specify a RAM disk. To find
kernel requirements, go to the Resource Center and search for the
kernel ID.
public List<BlockDeviceMapping> getBlockDeviceMappings()
public void setBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
blockDeviceMappings
- Specifies how block devices are exposed to the instance. Each mapping
is made up of a virtualName and a deviceName.public RunInstancesRequest withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings)
Returns a reference to this object so that method calls can be chained together.
blockDeviceMappings
- Specifies how block devices are exposed to the instance. Each mapping
is made up of a virtualName and a deviceName.
public RunInstancesRequest withBlockDeviceMappings(Collection<BlockDeviceMapping> blockDeviceMappings)
Returns a reference to this object so that method calls can be chained together.
blockDeviceMappings
- Specifies how block devices are exposed to the instance. Each mapping
is made up of a virtualName and a deviceName.
public Boolean isMonitoring()
public void setMonitoring(Boolean monitoring)
monitoring
- Enables monitoring for the instance.public RunInstancesRequest withMonitoring(Boolean monitoring)
Returns a reference to this object so that method calls can be chained together.
monitoring
- Enables monitoring for the instance.
public Boolean getMonitoring()
public String getSubnetId()
public void setSubnetId(String subnetId)
subnetId
- Specifies the subnet ID within which to launch the instance(s) for
Amazon Virtual Private Cloud.public RunInstancesRequest withSubnetId(String subnetId)
Returns a reference to this object so that method calls can be chained together.
subnetId
- Specifies the subnet ID within which to launch the instance(s) for
Amazon Virtual Private Cloud.
public Boolean isDisableApiTermination()
public void setDisableApiTermination(Boolean disableApiTermination)
disableApiTermination
- Specifies whether the instance can be terminated using the APIs. You
must modify this attribute before you can terminate any "locked"
instances from the APIs.public RunInstancesRequest withDisableApiTermination(Boolean disableApiTermination)
Returns a reference to this object so that method calls can be chained together.
disableApiTermination
- Specifies whether the instance can be terminated using the APIs. You
must modify this attribute before you can terminate any "locked"
instances from the APIs.
public Boolean getDisableApiTermination()
public String getInstanceInitiatedShutdownBehavior()
public void setInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
instanceInitiatedShutdownBehavior
- Specifies whether the instance's Amazon EBS volumes are stopped or
terminated when the instance is shut down.public RunInstancesRequest withInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior)
Returns a reference to this object so that method calls can be chained together.
instanceInitiatedShutdownBehavior
- Specifies whether the instance's Amazon EBS volumes are stopped or
terminated when the instance is shut down.
public InstanceLicenseSpecification getLicense()
public void setLicense(InstanceLicenseSpecification license)
license
- Specifies active licenses in use and attached to an Amazon EC2
instance.public RunInstancesRequest withLicense(InstanceLicenseSpecification license)
Returns a reference to this object so that method calls can be chained together.
license
- Specifies active licenses in use and attached to an Amazon EC2
instance.
public String getPrivateIpAddress()
public void setPrivateIpAddress(String privateIpAddress)
privateIpAddress
- If you're using Amazon Virtual Private Cloud, you can optionally use
this parameter to assign the instance a specific available IP address
from the subnet.public RunInstancesRequest withPrivateIpAddress(String privateIpAddress)
Returns a reference to this object so that method calls can be chained together.
privateIpAddress
- If you're using Amazon Virtual Private Cloud, you can optionally use
this parameter to assign the instance a specific available IP address
from the subnet.
public String getClientToken()
public void setClientToken(String clientToken)
clientToken
- Unique, case-sensitive identifier you provide to ensure idempotency of
the request. For more information, go to How to Ensure Idempotency in
the Amazon Elastic Compute Cloud User Guide.public RunInstancesRequest withClientToken(String clientToken)
Returns a reference to this object so that method calls can be chained together.
clientToken
- Unique, case-sensitive identifier you provide to ensure idempotency of
the request. For more information, go to How to Ensure Idempotency in
the Amazon Elastic Compute Cloud User Guide.
public String getAdditionalInfo()
public void setAdditionalInfo(String additionalInfo)
additionalInfo
- The new value for the AdditionalInfo property for this object.public RunInstancesRequest withAdditionalInfo(String additionalInfo)
Returns a reference to this object so that method calls can be chained together.
additionalInfo
- The new value for the AdditionalInfo property for this object.
public List<InstanceNetworkInterfaceSpecification> getNetworkInterfaces()
public void setNetworkInterfaces(Collection<InstanceNetworkInterfaceSpecification> networkInterfaces)
networkInterfaces
- The new value for the NetworkInterfaces property for this object.public RunInstancesRequest withNetworkInterfaces(InstanceNetworkInterfaceSpecification... networkInterfaces)
Returns a reference to this object so that method calls can be chained together.
networkInterfaces
- The new value for the NetworkInterfaces property for this object.
public RunInstancesRequest withNetworkInterfaces(Collection<InstanceNetworkInterfaceSpecification> networkInterfaces)
Returns a reference to this object so that method calls can be chained together.
networkInterfaces
- The new value for the NetworkInterfaces property for this object.
public IamInstanceProfileSpecification getIamInstanceProfile()
public void setIamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile)
iamInstanceProfile
- The new value for the IamInstanceProfile property for this object.public RunInstancesRequest withIamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile)
Returns a reference to this object so that method calls can be chained together.
iamInstanceProfile
- The new value for the IamInstanceProfile property for this object.
public Boolean isEbsOptimized()
public void setEbsOptimized(Boolean ebsOptimized)
ebsOptimized
- The new value for the EbsOptimized property for this object.public RunInstancesRequest withEbsOptimized(Boolean ebsOptimized)
Returns a reference to this object so that method calls can be chained together.
ebsOptimized
- The new value for the EbsOptimized property for this object.
public Boolean getEbsOptimized()
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |