Example usage for Java com.amazonaws.services.ec2.model RunInstancesRequest fields, constructors, methods, implement or subclass
The text is from its open source code.
RunInstancesRequest() Default constructor for RunInstancesRequest object. | |
RunInstancesRequest(String imageId, Integer minCount, Integer maxCount) Constructs a new RunInstancesRequest object. |
String | getImageId() The ID of the AMI. |
String | getInstanceType() The instance type. |
String | getKernelId() The ID of the kernel. |
String | getKeyName() The name of the key pair. |
Integer | getMaxCount() The maximum number of instances to launch. |
Integer | getMinCount() The minimum number of instances to launch. |
Placement | getPlacement() The placement for the instance. |
String | getRamdiskId() The ID of the RAM disk to select. |
java.util.List | getSecurityGroups() [EC2-Classic, default VPC] The names of the security groups. |
String | getSubnetId() [EC2-VPC] The ID of the subnet to launch the instance into. |
String | getUserData() The user data to make available to the instance. |
Boolean | isMonitoring() Specifies whether detailed monitoring is enabled for the instance. |
void | setAdditionalInfo(String additionalInfo) Reserved. |
void | setBlockDeviceMappings(java.util.Collection The block device mapping entries. |
void | setClientToken(String clientToken) Unique, case-sensitive identifier you provide to ensure the idempotency of the request. |
void | setDisableApiTermination(Boolean disableApiTermination) If you set this parameter to |
void | setGeneralProgressListener(ProgressListener progressListener) Sets the optional progress listener for receiving updates about the progress of the request. |
void | setIamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile) The IAM instance profile. |
void | setImageId(String imageId) The ID of the AMI. |
void | setInstanceType(String instanceType) The instance type. |
void | setInstanceType(InstanceType instanceType) The instance type. |
void | setKernelId(String kernelId) The ID of the kernel. |
void | setKeyName(String keyName) The name of the key pair. |
void | setMaxCount(Integer maxCount) The maximum number of instances to launch. |
void | setMinCount(Integer minCount) The minimum number of instances to launch. |
void | setMonitoring(Boolean monitoring) Specifies whether detailed monitoring is enabled for the instance. |
void | setPlacement(Placement placement) The placement for the instance. |
void | setRamdiskId(String ramdiskId) The ID of the RAM disk to select. |
void | setRequestCredentials(AWSCredentials credentials) Sets the optional credentials to use for this request, overriding the default credentials set at the client level. |
void | setSecurityGroupIds(java.util.Collection The IDs of the security groups. |
void | setSecurityGroups(java.util.Collection [EC2-Classic, default VPC] The names of the security groups. |
void | setSubnetId(String subnetId) [EC2-VPC] The ID of the subnet to launch the instance into. |
void | setUserData(String userData) The user data to make available to the instance. |
RunInstancesRequest | withBlockDeviceMappings(BlockDeviceMapping... blockDeviceMappings) The block device mapping entries. |
RunInstancesRequest | withBlockDeviceMappings( java.util.Collection The block device mapping entries. |
RunInstancesRequest | withIamInstanceProfile(IamInstanceProfileSpecification iamInstanceProfile) The IAM instance profile. |
RunInstancesRequest | withImageId(String imageId) The ID of the AMI. |
RunInstancesRequest | withInstanceInitiatedShutdownBehavior(String instanceInitiatedShutdownBehavior) Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown). |
RunInstancesRequest | withInstanceInitiatedShutdownBehavior( ShutdownBehavior instanceInitiatedShutdownBehavior) Indicates whether an instance stops or terminates when you initiate shutdown from the instance (using the operating system command for system shutdown). |
RunInstancesRequest | withInstanceType(String instanceType) The instance type. |
RunInstancesRequest | withInstanceType(InstanceType instanceType) The instance type. |
RunInstancesRequest | withKernelId(String kernelId) The ID of the kernel. |
RunInstancesRequest | withKeyName(String keyName) The name of the key pair. |
RunInstancesRequest | withMaxCount(Integer maxCount) The maximum number of instances to launch. |
RunInstancesRequest | withMinCount(Integer minCount) The minimum number of instances to launch. |
RunInstancesRequest | withMonitoring(Boolean monitoring) Specifies whether detailed monitoring is enabled for the instance. |
RunInstancesRequest | withNetworkInterfaces(InstanceNetworkInterfaceSpecification... networkInterfaces) The network interfaces to associate with the instance. |
RunInstancesRequest | withNetworkInterfaces( java.util.Collection The network interfaces to associate with the instance. |
RunInstancesRequest | withPlacement(Placement placement) The placement for the instance. |
RunInstancesRequest | withPrivateIpAddress(String privateIpAddress) [EC2-VPC] The primary IPv4 address. |
RunInstancesRequest | withRamdiskId(String ramdiskId) The ID of the RAM disk to select. |
RunInstancesRequest | withSecurityGroupIds(String... securityGroupIds) The IDs of the security groups. |
RunInstancesRequest | withSecurityGroupIds(java.util.Collection The IDs of the security groups. |
RunInstancesRequest | withSecurityGroups(String... securityGroups) [EC2-Classic, default VPC] The names of the security groups. |
RunInstancesRequest | withSecurityGroups(java.util.Collection [EC2-Classic, default VPC] The names of the security groups. |
RunInstancesRequest | withSubnetId(String subnetId) [EC2-VPC] The ID of the subnet to launch the instance into. |
RunInstancesRequest | withUserData(String userData) The user data to make available to the instance. |