public static interface EnterStandbyRequest.Builder extends AutoScalingRequest.Builder, SdkPojo, CopyableBuilder<EnterStandbyRequest.Builder,EnterStandbyRequest>
Modifier and Type | Method and Description |
---|---|
EnterStandbyRequest.Builder |
autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
EnterStandbyRequest.Builder |
instanceIds(Collection<String> instanceIds)
The IDs of the instances.
|
EnterStandbyRequest.Builder |
instanceIds(String... instanceIds)
The IDs of the instances.
|
EnterStandbyRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
EnterStandbyRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
EnterStandbyRequest.Builder |
shouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances
moved to
Standby mode. |
build
overrideConfiguration
copy
applyMutation, build
EnterStandbyRequest.Builder instanceIds(Collection<String> instanceIds)
The IDs of the instances. You can specify up to 20 instances.
instanceIds
- The IDs of the instances. You can specify up to 20 instances.EnterStandbyRequest.Builder instanceIds(String... instanceIds)
The IDs of the instances. You can specify up to 20 instances.
instanceIds
- The IDs of the instances. You can specify up to 20 instances.EnterStandbyRequest.Builder autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.EnterStandbyRequest.Builder shouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances
moved to Standby
mode.
shouldDecrementDesiredCapacity
- Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of
instances moved to Standby
mode.EnterStandbyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.EnterStandbyRequest.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.