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