Interface EnterStandbyRequest.Builder
-
- All Superinterfaces:
AutoScalingRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<EnterStandbyRequest.Builder,EnterStandbyRequest>
,SdkBuilder<EnterStandbyRequest.Builder,EnterStandbyRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- EnterStandbyRequest
public static interface EnterStandbyRequest.Builder extends AutoScalingRequest.Builder, SdkPojo, CopyableBuilder<EnterStandbyRequest.Builder,EnterStandbyRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EnterStandbyRequest.Builder
autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.EnterStandbyRequest.Builder
instanceIds(String... instanceIds)
The IDs of the instances.EnterStandbyRequest.Builder
instanceIds(Collection<String> instanceIds)
The IDs of the instances.EnterStandbyRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
EnterStandbyRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
EnterStandbyRequest.Builder
shouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved toStandby
mode.-
Methods inherited from interface software.amazon.awssdk.services.autoscaling.model.AutoScalingRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
instanceIds
EnterStandbyRequest.Builder instanceIds(Collection<String> 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
EnterStandbyRequest.Builder instanceIds(String... 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
EnterStandbyRequest.Builder autoScalingGroupName(String 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
EnterStandbyRequest.Builder shouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved to
Standby
mode.- Parameters:
shouldDecrementDesiredCapacity
- Indicates whether to decrement the desired capacity of the Auto Scaling group by the number of instances moved toStandby
mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
EnterStandbyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
EnterStandbyRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-