Interface Ec2AsgCapacityIncreaseConfiguration.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Ec2AsgCapacityIncreaseConfiguration.Builder,
,Ec2AsgCapacityIncreaseConfiguration> SdkBuilder<Ec2AsgCapacityIncreaseConfiguration.Builder,
,Ec2AsgCapacityIncreaseConfiguration> SdkPojo
- Enclosing class:
Ec2AsgCapacityIncreaseConfiguration
-
Method Summary
Modifier and TypeMethodDescriptionasgs
(Collection<Asg> asgs) The EC2 Auto Scaling groups for the configuration.asgs
(Consumer<Asg.Builder>... asgs) The EC2 Auto Scaling groups for the configuration.The EC2 Auto Scaling groups for the configuration.capacityMonitoringApproach
(String capacityMonitoringApproach) The monitoring approach that you specify EC2 Auto Scaling groups for the configuration.capacityMonitoringApproach
(Ec2AsgCapacityMonitoringApproach capacityMonitoringApproach) The monitoring approach that you specify EC2 Auto Scaling groups for the configuration.targetPercent
(Integer targetPercent) The target percentage that you specify for EC2 Auto Scaling groups.timeoutMinutes
(Integer timeoutMinutes) The timeout value specified for the configuration.ungraceful
(Consumer<Ec2Ungraceful.Builder> ungraceful) The settings for ungraceful execution.ungraceful
(Ec2Ungraceful ungraceful) The settings for ungraceful execution.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 Details
-
timeoutMinutes
The timeout value specified for the configuration.
- Parameters:
timeoutMinutes
- The timeout value specified for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asgs
The EC2 Auto Scaling groups for the configuration.
- Parameters:
asgs
- The EC2 Auto Scaling groups for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asgs
The EC2 Auto Scaling groups for the configuration.
- Parameters:
asgs
- The EC2 Auto Scaling groups for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
asgs
The EC2 Auto Scaling groups for the configuration.
This is a convenience method that creates an instance of theAsg.Builder
avoiding the need to create one manually viaAsg.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toasgs(List<Asg>)
.- Parameters:
asgs
- a consumer that will call methods onAsg.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
ungraceful
The settings for ungraceful execution.
- Parameters:
ungraceful
- The settings for ungraceful execution.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ungraceful
default Ec2AsgCapacityIncreaseConfiguration.Builder ungraceful(Consumer<Ec2Ungraceful.Builder> ungraceful) The settings for ungraceful execution.
This is a convenience method that creates an instance of theEc2Ungraceful.Builder
avoiding the need to create one manually viaEc2Ungraceful.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toungraceful(Ec2Ungraceful)
.- Parameters:
ungraceful
- a consumer that will call methods onEc2Ungraceful.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetPercent
The target percentage that you specify for EC2 Auto Scaling groups.
- Parameters:
targetPercent
- The target percentage that you specify for EC2 Auto Scaling groups.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityMonitoringApproach
Ec2AsgCapacityIncreaseConfiguration.Builder capacityMonitoringApproach(String capacityMonitoringApproach) The monitoring approach that you specify EC2 Auto Scaling groups for the configuration.
- Parameters:
capacityMonitoringApproach
- The monitoring approach that you specify EC2 Auto Scaling groups for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capacityMonitoringApproach
Ec2AsgCapacityIncreaseConfiguration.Builder capacityMonitoringApproach(Ec2AsgCapacityMonitoringApproach capacityMonitoringApproach) The monitoring approach that you specify EC2 Auto Scaling groups for the configuration.
- Parameters:
capacityMonitoringApproach
- The monitoring approach that you specify EC2 Auto Scaling groups for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-