Interface EnterStandbyRequest.Builder
- All Superinterfaces:
AutoScalingRequest.Builder,AwsRequest.Builder,Buildable,CopyableBuilder<EnterStandbyRequest.Builder,,EnterStandbyRequest> SdkBuilder<EnterStandbyRequest.Builder,,EnterStandbyRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
EnterStandbyRequest
@Mutable
@NotThreadSafe
public static interface EnterStandbyRequest.Builder
extends AutoScalingRequest.Builder, SdkPojo, CopyableBuilder<EnterStandbyRequest.Builder,EnterStandbyRequest>
-
Method Summary
Modifier and TypeMethodDescriptionautoScalingGroupName(String autoScalingGroupName) The name of the Auto Scaling group.instanceIds(String... instanceIds) The IDs of the instances.instanceIds(Collection<String> instanceIds) The IDs of the instances.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.shouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity) Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved toStandbymode.Methods inherited from interface software.amazon.awssdk.services.autoscaling.model.AutoScalingRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
instanceIds
The IDs of the instances. You can specify up to 20 instances.
- Parameters:
instanceIds- The IDs of the instances. You can specify up to 20 instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceIds
The IDs of the instances. You can specify up to 20 instances.
- Parameters:
instanceIds- The IDs of the instances. You can specify up to 20 instances.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoScalingGroupName
The name of the Auto Scaling group.
- Parameters:
autoScalingGroupName- The name of the Auto Scaling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
shouldDecrementDesiredCapacity
Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved to
Standbymode.- Parameters:
shouldDecrementDesiredCapacity- Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved toStandbymode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
EnterStandbyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
EnterStandbyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-