public static interface DetachInstancesRequest.Builder extends AutoScalingRequest.Builder, CopyableBuilder<DetachInstancesRequest.Builder,DetachInstancesRequest>
Modifier and Type | Method and Description |
---|---|
DetachInstancesRequest.Builder |
autoScalingGroupName(String autoScalingGroupName)
The name of the group.
|
DetachInstancesRequest.Builder |
instanceIds(Collection<String> instanceIds)
One or more instance IDs.
|
DetachInstancesRequest.Builder |
instanceIds(String... instanceIds)
One or more instance IDs.
|
DetachInstancesRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
DetachInstancesRequest.Builder |
shouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
If
True , the Auto Scaling group decrements the desired capacity value by the number of instances
detached. |
build
requestOverrideConfig, requestOverrideConfig
copy
apply, build
DetachInstancesRequest.Builder instanceIds(Collection<String> instanceIds)
One or more instance IDs.
instanceIds
- One or more instance IDs.DetachInstancesRequest.Builder instanceIds(String... instanceIds)
One or more instance IDs.
instanceIds
- One or more instance IDs.DetachInstancesRequest.Builder autoScalingGroupName(String autoScalingGroupName)
The name of the group.
autoScalingGroupName
- The name of the group.DetachInstancesRequest.Builder shouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
If True
, the Auto Scaling group decrements the desired capacity value by the number of instances
detached.
shouldDecrementDesiredCapacity
- If True
, the Auto Scaling group decrements the desired capacity value by the number of
instances detached.DetachInstancesRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.