public static interface SetDesiredCapacityRequest.Builder extends AutoScalingRequest.Builder, CopyableBuilder<SetDesiredCapacityRequest.Builder,SetDesiredCapacityRequest>
Modifier and Type | Method and 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. |
SetDesiredCapacityRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
SetDesiredCapacityRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, 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.SetDesiredCapacityRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.SetDesiredCapacityRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.