Class CfnAlarmModelPropsMixin.AcknowledgeFlowProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotevents.CfnAlarmModelPropsMixin.AcknowledgeFlowProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlarmModelPropsMixin.AcknowledgeFlowProperty>
- Enclosing interface:
CfnAlarmModelPropsMixin.AcknowledgeFlowProperty
@Stability(Stable)
public static final class CfnAlarmModelPropsMixin.AcknowledgeFlowProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlarmModelPropsMixin.AcknowledgeFlowProperty>
A builder for
CfnAlarmModelPropsMixin.AcknowledgeFlowProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAlarmModelPropsMixin.AcknowledgeFlowProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnAlarmModelPropsMixin.AcknowledgeFlowProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
@Stability(Stable) public CfnAlarmModelPropsMixin.AcknowledgeFlowProperty.Builder enabled(Boolean enabled) Sets the value ofCfnAlarmModelPropsMixin.AcknowledgeFlowProperty.getEnabled()- Parameters:
enabled- The value must beTRUEorFALSE. IfTRUE, you receive a notification when the alarm state changes. You must choose to acknowledge the notification before the alarm state can return toNORMAL. IfFALSE, you won't receive notifications. The alarm automatically changes to theNORMALstate when the input property value returns to the specified range.- Returns:
this
-
enabled
@Stability(Stable) public CfnAlarmModelPropsMixin.AcknowledgeFlowProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnAlarmModelPropsMixin.AcknowledgeFlowProperty.getEnabled()- Parameters:
enabled- The value must beTRUEorFALSE. IfTRUE, you receive a notification when the alarm state changes. You must choose to acknowledge the notification before the alarm state can return toNORMAL. IfFALSE, you won't receive notifications. The alarm automatically changes to theNORMALstate when the input property value returns to the specified range.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAlarmModelPropsMixin.AcknowledgeFlowProperty>- Returns:
- a new instance of
CfnAlarmModelPropsMixin.AcknowledgeFlowProperty - Throws:
NullPointerException- if any required attribute was not provided
-