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