Class CfnAlarmModel.AlarmEventActionsProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotevents.CfnAlarmModel.AlarmEventActionsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlarmModel.AlarmEventActionsProperty>
- Enclosing interface:
CfnAlarmModel.AlarmEventActionsProperty
@Stability(Stable)
public static final class CfnAlarmModel.AlarmEventActionsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlarmModel.AlarmEventActionsProperty>
A builder for
CfnAlarmModel.AlarmEventActionsProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionalarmActions
(List<? extends Object> alarmActions) Sets the value ofCfnAlarmModel.AlarmEventActionsProperty.getAlarmActions()
alarmActions
(IResolvable alarmActions) Sets the value ofCfnAlarmModel.AlarmEventActionsProperty.getAlarmActions()
build()
Builds the configured instance.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
alarmActions
@Stability(Stable) public CfnAlarmModel.AlarmEventActionsProperty.Builder alarmActions(IResolvable alarmActions) Sets the value ofCfnAlarmModel.AlarmEventActionsProperty.getAlarmActions()
- Parameters:
alarmActions
- Specifies one or more supported actions to receive notifications when the alarm state changes.- Returns:
this
-
alarmActions
@Stability(Stable) public CfnAlarmModel.AlarmEventActionsProperty.Builder alarmActions(List<? extends Object> alarmActions) Sets the value ofCfnAlarmModel.AlarmEventActionsProperty.getAlarmActions()
- Parameters:
alarmActions
- Specifies one or more supported actions to receive notifications when the alarm state changes.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAlarmModel.AlarmEventActionsProperty>
- Returns:
- a new instance of
CfnAlarmModel.AlarmEventActionsProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-