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