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. |
buildrequestOverrideConfigcopyapply, buildEnterStandbyRequest.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.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.EnterStandbyRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.