Interface EcsCapacityIncreaseConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EcsCapacityIncreaseConfiguration.Builder,,EcsCapacityIncreaseConfiguration> SdkBuilder<EcsCapacityIncreaseConfiguration.Builder,,EcsCapacityIncreaseConfiguration> SdkPojo
- Enclosing class:
EcsCapacityIncreaseConfiguration
-
Method Summary
Modifier and TypeMethodDescriptioncapacityMonitoringApproach(String capacityMonitoringApproach) The monitoring approach specified for the configuration, for example,Most_Recent.capacityMonitoringApproach(EcsCapacityMonitoringApproach capacityMonitoringApproach) The monitoring approach specified for the configuration, for example,Most_Recent.services(Collection<Service> services) The services specified for the configuration.services(Consumer<Service.Builder>... services) The services specified for the configuration.The services specified for the configuration.targetPercent(Integer targetPercent) The target percentage specified for the configuration.timeoutMinutes(Integer timeoutMinutes) The timeout value specified for the configuration.ungraceful(Consumer<EcsUngraceful.Builder> ungraceful) The settings for ungraceful execution.ungraceful(EcsUngraceful ungraceful) The settings for ungraceful execution.Methods 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
-
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.
-
services
The services specified for the configuration.
- Parameters:
services- The services specified for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
The services specified for the configuration.
- Parameters:
services- The services specified for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
services
The services specified for the configuration.
This is a convenience method that creates an instance of theService.Builderavoiding the need to create one manually viaService.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toservices(List<Service>).- Parameters:
services- a consumer that will call methods onService.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 EcsCapacityIncreaseConfiguration.Builder ungraceful(Consumer<EcsUngraceful.Builder> ungraceful) The settings for ungraceful execution.
This is a convenience method that creates an instance of theEcsUngraceful.Builderavoiding the need to create one manually viaEcsUngraceful.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toungraceful(EcsUngraceful).- Parameters:
ungraceful- a consumer that will call methods onEcsUngraceful.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetPercent
The target percentage specified for the configuration.
- Parameters:
targetPercent- The target percentage specified for the configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capacityMonitoringApproach
EcsCapacityIncreaseConfiguration.Builder capacityMonitoringApproach(String capacityMonitoringApproach) The monitoring approach specified for the configuration, for example,
Most_Recent.- Parameters:
capacityMonitoringApproach- The monitoring approach specified for the configuration, for example,Most_Recent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
capacityMonitoringApproach
EcsCapacityIncreaseConfiguration.Builder capacityMonitoringApproach(EcsCapacityMonitoringApproach capacityMonitoringApproach) The monitoring approach specified for the configuration, for example,
Most_Recent.- Parameters:
capacityMonitoringApproach- The monitoring approach specified for the configuration, for example,Most_Recent.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-