CopyableBuilder<SetDesiredCapacityRequest.Builder,SetDesiredCapacityRequest>
, SdkBuilder<SetDesiredCapacityRequest.Builder,SetDesiredCapacityRequest>
public static interface SetDesiredCapacityRequest.Builder extends CopyableBuilder<SetDesiredCapacityRequest.Builder,SetDesiredCapacityRequest>
Modifier and Type | Method | Description |
---|---|---|
SetDesiredCapacityRequest.Builder |
autoScalingGroupName(String autoScalingGroupName) |
The name of the Auto Scaling group.
|
SetDesiredCapacityRequest.Builder |
desiredCapacity(Integer desiredCapacity) |
The number of EC2 instances that should be running in the Auto Scaling group.
|
SetDesiredCapacityRequest.Builder |
honorCooldown(Boolean honorCooldown) |
By default,
SetDesiredCapacity overrides any cooldown period associated with the Auto Scaling
group. |
copy
apply, build
SetDesiredCapacityRequest.Builder autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.SetDesiredCapacityRequest.Builder desiredCapacity(Integer desiredCapacity)
The number of EC2 instances that should be running in the Auto Scaling group.
desiredCapacity
- The number of EC2 instances that should be running in the Auto Scaling group.SetDesiredCapacityRequest.Builder honorCooldown(Boolean honorCooldown)
By default, SetDesiredCapacity
overrides any cooldown period associated with the Auto Scaling
group. Specify True
to make Auto Scaling to wait for the cool-down period associated with the
Auto Scaling group to complete before initiating a scaling activity to set your Auto Scaling group to its new
capacity.
honorCooldown
- By default, SetDesiredCapacity
overrides any cooldown period associated with the Auto
Scaling group. Specify True
to make Auto Scaling to wait for the cool-down period
associated with the Auto Scaling group to complete before initiating a scaling activity to set your
Auto Scaling group to its new capacity.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.