Class CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.arcregionswitch.mixins.CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty>
- Enclosing interface:
CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty
@Stability(Stable)
public static final class CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.capacityMonitoringApproach(String capacityMonitoringApproach) Sets the value ofCfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty.getServices()services(IResolvable services) Sets the value ofCfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty.getServices()targetPercent(Number targetPercent) timeoutMinutes(Number timeoutMinutes) ungraceful(IResolvable ungraceful) ungraceful(CfnPlanPropsMixin.EcsUngracefulProperty ungraceful)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
capacityMonitoringApproach
@Stability(Stable) public CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty.Builder capacityMonitoringApproach(String capacityMonitoringApproach) Sets the value ofCfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty.getCapacityMonitoringApproach()- Parameters:
capacityMonitoringApproach- The monitoring approach specified for the configuration, for example,Most_Recent.- Returns:
this
-
services
@Stability(Stable) public CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty.Builder services(IResolvable services) Sets the value ofCfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty.getServices()- Parameters:
services- The services specified for the configuration.- Returns:
this
-
services
@Stability(Stable) public CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty.Builder services(List<? extends Object> services) Sets the value ofCfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty.getServices()- Parameters:
services- The services specified for the configuration.- Returns:
this
-
targetPercent
@Stability(Stable) public CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty.Builder targetPercent(Number targetPercent) - Parameters:
targetPercent- The target percentage specified for the configuration.- Returns:
this
-
timeoutMinutes
@Stability(Stable) public CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty.Builder timeoutMinutes(Number timeoutMinutes) - Parameters:
timeoutMinutes- The timeout value specified for the configuration.- Returns:
this
-
ungraceful
@Stability(Stable) public CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty.Builder ungraceful(IResolvable ungraceful) - Parameters:
ungraceful- The settings for ungraceful execution.- Returns:
this
-
ungraceful
@Stability(Stable) public CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty.Builder ungraceful(CfnPlanPropsMixin.EcsUngracefulProperty ungraceful) - Parameters:
ungraceful- The settings for ungraceful execution.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty>- Returns:
- a new instance of
CfnPlanPropsMixin.EcsCapacityIncreaseConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-