public static final class CfnAlarmModel.AcknowledgeFlowProperty.Builder
extends java.lang.Object
CfnAlarmModel.AcknowledgeFlowProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnAlarmModel.AcknowledgeFlowProperty |
build()
Builds the configured instance.
|
CfnAlarmModel.AcknowledgeFlowProperty.Builder |
enabled(java.lang.Boolean enabled)
Sets the value of
CfnAlarmModel.AcknowledgeFlowProperty.getEnabled() |
CfnAlarmModel.AcknowledgeFlowProperty.Builder |
enabled(IResolvable enabled)
Sets the value of
CfnAlarmModel.AcknowledgeFlowProperty.getEnabled() |
public CfnAlarmModel.AcknowledgeFlowProperty.Builder enabled(java.lang.Boolean enabled)
CfnAlarmModel.AcknowledgeFlowProperty.getEnabled()
enabled
- The value must be `TRUE` or `FALSE` .
If TRUE
, you receive a notification when the alarm state changes. You must choose to acknowledge the notification before the alarm state can return to NORMAL
. If FALSE
, you won't receive notifications. The alarm automatically changes to the NORMAL
state when the input property value returns to the specified range.this
public CfnAlarmModel.AcknowledgeFlowProperty.Builder enabled(IResolvable enabled)
CfnAlarmModel.AcknowledgeFlowProperty.getEnabled()
enabled
- The value must be `TRUE` or `FALSE` .
If TRUE
, you receive a notification when the alarm state changes. You must choose to acknowledge the notification before the alarm state can return to NORMAL
. If FALSE
, you won't receive notifications. The alarm automatically changes to the NORMAL
state when the input property value returns to the specified range.this
public CfnAlarmModel.AcknowledgeFlowProperty build()
CfnAlarmModel.AcknowledgeFlowProperty
java.lang.NullPointerException
- if any required attribute was not provided