Class CfnAlarmModel.AcknowledgeFlowProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotevents.CfnAlarmModel.AcknowledgeFlowProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlarmModel.AcknowledgeFlowProperty>
- Enclosing interface:
CfnAlarmModel.AcknowledgeFlowProperty
@Stability(Stable)
public static final class CfnAlarmModel.AcknowledgeFlowProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlarmModel.AcknowledgeFlowProperty>
A builder for
CfnAlarmModel.AcknowledgeFlowProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnAlarmModel.AcknowledgeFlowProperty.getEnabled()enabled(IResolvable enabled) Sets the value ofCfnAlarmModel.AcknowledgeFlowProperty.getEnabled()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
enabled
Sets the value ofCfnAlarmModel.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 CfnAlarmModel.AcknowledgeFlowProperty.Builder enabled(IResolvable enabled) Sets the value ofCfnAlarmModel.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<CfnAlarmModel.AcknowledgeFlowProperty>- Returns:
- a new instance of
CfnAlarmModel.AcknowledgeFlowProperty - Throws:
NullPointerException- if any required attribute was not provided
-