CopyableBuilder<EnterStandbyRequest.Builder,EnterStandbyRequest>
, SdkBuilder<EnterStandbyRequest.Builder,EnterStandbyRequest>
public static interface EnterStandbyRequest.Builder extends CopyableBuilder<EnterStandbyRequest.Builder,EnterStandbyRequest>
Modifier and Type | Method | Description |
---|---|---|
EnterStandbyRequest.Builder |
autoScalingGroupName(String autoScalingGroupName) |
The name of the Auto Scaling group.
|
EnterStandbyRequest.Builder |
instanceIds(String... instanceIds) |
One or more instances to move into
Standby mode. |
EnterStandbyRequest.Builder |
instanceIds(Collection<String> instanceIds) |
One or more instances to move into
Standby mode. |
EnterStandbyRequest.Builder |
shouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity) |
Specifies whether the instances moved to
Standby mode count as part of the Auto Scaling group's
desired capacity. |
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.
NOTE: This method appends the values to the existing list (if any). Use
#setInstanceIds(java.util.Collection)
or #withInstanceIds(java.util.Collection)
if you want
to override the existing values.
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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.