Class CfnDaemonPropsMixin.DaemonDeploymentConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ecs.CfnDaemonPropsMixin.DaemonDeploymentConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDaemonPropsMixin.DaemonDeploymentConfigurationProperty>
- Enclosing interface:
CfnDaemonPropsMixin.DaemonDeploymentConfigurationProperty
@Stability(Stable)
public static final class CfnDaemonPropsMixin.DaemonDeploymentConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDaemonPropsMixin.DaemonDeploymentConfigurationProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDaemonPropsMixin.DaemonDeploymentConfigurationProperty.getAlarms()alarms(IResolvable alarms) Sets the value ofCfnDaemonPropsMixin.DaemonDeploymentConfigurationProperty.getAlarms()bakeTimeInMinutes(Number bakeTimeInMinutes) build()Builds the configured instance.drainPercent(Number drainPercent)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alarms
@Stability(Stable) public CfnDaemonPropsMixin.DaemonDeploymentConfigurationProperty.Builder alarms(IResolvable alarms) Sets the value ofCfnDaemonPropsMixin.DaemonDeploymentConfigurationProperty.getAlarms()- Parameters:
alarms- the value to be set.- Returns:
this
-
alarms
@Stability(Stable) public CfnDaemonPropsMixin.DaemonDeploymentConfigurationProperty.Builder alarms(CfnDaemonPropsMixin.DaemonAlarmConfigurationProperty alarms) Sets the value ofCfnDaemonPropsMixin.DaemonDeploymentConfigurationProperty.getAlarms()- Parameters:
alarms- the value to be set.- Returns:
this
-
bakeTimeInMinutes
@Stability(Stable) public CfnDaemonPropsMixin.DaemonDeploymentConfigurationProperty.Builder bakeTimeInMinutes(Number bakeTimeInMinutes) - Parameters:
bakeTimeInMinutes- the value to be set.- Returns:
this
-
drainPercent
@Stability(Stable) public CfnDaemonPropsMixin.DaemonDeploymentConfigurationProperty.Builder drainPercent(Number drainPercent) - Parameters:
drainPercent- the value to be set.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDaemonPropsMixin.DaemonDeploymentConfigurationProperty>- Returns:
- a new instance of
CfnDaemonPropsMixin.DaemonDeploymentConfigurationProperty - Throws:
NullPointerException- if any required attribute was not provided
-