public static interface SetDesiredCapacityRequest.Builder extends AutoScalingRequest.Builder, SdkPojo, 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)
Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a
scaling activity to set your Auto Scaling group to its new capacity.
|
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)
Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating a scaling activity to set your Auto Scaling group to its new capacity. By default, Amazon EC2 Auto Scaling does not honor the cooldown period during manual scaling activities.
honorCooldown
- Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before initiating
a scaling activity to set your Auto Scaling group to its new capacity. By default, Amazon EC2 Auto
Scaling does not honor the cooldown period during manual scaling activities.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.