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