public static interface EnterStandbyRequest.Builder extends AutoScalingRequest.Builder, 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)
One or more instances to move into
Standby mode. |
EnterStandbyRequest.Builder |
instanceIds(String... instanceIds)
One or more instances to move into
Standby mode. |
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)
Specifies whether the instances moved to
Standby mode count as part of the Auto Scaling group's
desired capacity. |
build
overrideConfiguration
copy
applyMutation, build
EnterStandbyRequest.Builder instanceIds(Collection<String> instanceIds)
One or more instances to move into Standby
mode. You must specify at least one instance ID.
instanceIds
- One or more instances to move into Standby
mode. You must specify at least one instance
ID.EnterStandbyRequest.Builder instanceIds(String... instanceIds)
One or more instances to move into Standby
mode. You must specify at least one instance ID.
instanceIds
- One or more instances to move into Standby
mode. You must specify at least one instance
ID.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)
Specifies whether the instances moved to Standby
mode count as part of the Auto Scaling group's
desired capacity. If set, the desired capacity for the Auto Scaling group decrements by the number of
instances moved to Standby
mode.
shouldDecrementDesiredCapacity
- Specifies whether the instances moved to Standby
mode count as part of the Auto Scaling
group's desired capacity. If set, the desired capacity for the Auto Scaling group decrements 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.