public static interface DetachInstancesRequest.Builder extends AutoScalingRequest.Builder, SdkPojo, CopyableBuilder<DetachInstancesRequest.Builder,DetachInstancesRequest>
Modifier and Type | Method and Description |
---|---|
DetachInstancesRequest.Builder |
autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
DetachInstancesRequest.Builder |
instanceIds(Collection<String> instanceIds)
The IDs of the instances.
|
DetachInstancesRequest.Builder |
instanceIds(String... instanceIds)
The IDs of the instances.
|
DetachInstancesRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
DetachInstancesRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
DetachInstancesRequest.Builder |
shouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
Indicates whether the Auto Scaling group decrements the desired capacity value by the number of instances
detached.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
DetachInstancesRequest.Builder instanceIds(Collection<String> instanceIds)
The IDs of the instances. You can specify up to 20 instances.
instanceIds
- The IDs of the instances. You can specify up to 20 instances.DetachInstancesRequest.Builder instanceIds(String... instanceIds)
The IDs of the instances. You can specify up to 20 instances.
instanceIds
- The IDs of the instances. You can specify up to 20 instances.DetachInstancesRequest.Builder autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.DetachInstancesRequest.Builder shouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
Indicates whether the Auto Scaling group decrements the desired capacity value by the number of instances detached.
shouldDecrementDesiredCapacity
- Indicates whether the Auto Scaling group decrements the desired capacity value by the number of
instances detached.DetachInstancesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration
in interface AwsRequest.Builder
DetachInstancesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration
in interface AwsRequest.Builder
Copyright © 2020. All rights reserved.