public static interface TerminateInstancesRequest.Builder extends Ec2Request.Builder, SdkPojo, CopyableBuilder<TerminateInstancesRequest.Builder,TerminateInstancesRequest>
| Modifier and Type | Method and Description |
|---|---|
TerminateInstancesRequest.Builder |
dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response.
|
TerminateInstancesRequest.Builder |
instanceIds(Collection<String> instanceIds)
The IDs of the instances.
|
TerminateInstancesRequest.Builder |
instanceIds(String... instanceIds)
The IDs of the instances.
|
TerminateInstancesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
TerminateInstancesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildTerminateInstancesRequest.Builder instanceIds(Collection<String> instanceIds)
The IDs of the instances.
Constraints: Up to 1000 instance IDs. We recommend breaking up this request into smaller batches.
instanceIds - The IDs of the instances.
Constraints: Up to 1000 instance IDs. We recommend breaking up this request into smaller batches.
TerminateInstancesRequest.Builder instanceIds(String... instanceIds)
The IDs of the instances.
Constraints: Up to 1000 instance IDs. We recommend breaking up this request into smaller batches.
instanceIds - The IDs of the instances.
Constraints: Up to 1000 instance IDs. We recommend breaking up this request into smaller batches.
TerminateInstancesRequest.Builder dryRun(Boolean dryRun)
Checks whether you have the required permissions for the action, without actually making the request, and
provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.
dryRun - Checks whether you have the required permissions for the action, without actually making the request,
and provides an error response. If you have the required permissions, the error response is
DryRunOperation. Otherwise, it is UnauthorizedOperation.TerminateInstancesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderTerminateInstancesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.