Interface DetachInstancesRequest.Builder
-
- All Superinterfaces:
AutoScalingRequest.Builder
,AwsRequest.Builder
,Buildable
,CopyableBuilder<DetachInstancesRequest.Builder,DetachInstancesRequest>
,SdkBuilder<DetachInstancesRequest.Builder,DetachInstancesRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- DetachInstancesRequest
public static interface DetachInstancesRequest.Builder extends AutoScalingRequest.Builder, SdkPojo, CopyableBuilder<DetachInstancesRequest.Builder,DetachInstancesRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DetachInstancesRequest.Builder
autoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.DetachInstancesRequest.Builder
instanceIds(String... instanceIds)
The IDs of the instances.DetachInstancesRequest.Builder
instanceIds(Collection<String> instanceIds)
The IDs of the instances.DetachInstancesRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
DetachInstancesRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
DetachInstancesRequest.Builder
shouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
Indicates whether the Auto Scaling group decrements the desired capacity value by the number of instances detached.-
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, sdkFields
-
-
-
-
Method Detail
-
instanceIds
DetachInstancesRequest.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
DetachInstancesRequest.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
DetachInstancesRequest.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
DetachInstancesRequest.Builder shouldDecrementDesiredCapacity(Boolean shouldDecrementDesiredCapacity)
Indicates whether the Auto Scaling group decrements the desired capacity value by the number of instances detached.
- Parameters:
shouldDecrementDesiredCapacity
- Indicates whether the Auto Scaling group decrements the desired capacity value by the number of instances detached.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DetachInstancesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
DetachInstancesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-