CopyableBuilder<TerminateInstanceInAutoScalingGroupRequest.Builder,TerminateInstanceInAutoScalingGroupRequest>
, SdkBuilder<TerminateInstanceInAutoScalingGroupRequest.Builder,TerminateInstanceInAutoScalingGroupRequest>
public static interface TerminateInstanceInAutoScalingGroupRequest.Builder extends CopyableBuilder<TerminateInstanceInAutoScalingGroupRequest.Builder,TerminateInstanceInAutoScalingGroupRequest>
Modifier and Type | Method | Description |
---|---|---|
TerminateInstanceInAutoScalingGroupRequest.Builder |
instanceId(String instanceId) |
The ID of the instance.
|
TerminateInstanceInAutoScalingGroupRequest.Builder |
shouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity) |
If
true , terminating the instance also decrements the size of the Auto Scaling group. |
copy
apply, build
TerminateInstanceInAutoScalingGroupRequest.Builder instanceId(String instanceId)
The ID of the instance.
instanceId
- The ID of the instance.TerminateInstanceInAutoScalingGroupRequest.Builder shouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
If true
, terminating the instance also decrements the size of the Auto Scaling group.
shouldDecrementDesiredCapacity
- If true
, terminating the instance also decrements the size of the Auto Scaling group.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.