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