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 |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
EnterStandbyRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.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
requestOverrideConfig
copy
apply, 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 requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
awsRequestOverrideConfig
- The override configuration.EnterStandbyRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.Builder
requestOverrideConfig
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfig.Builder
will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.