Class CfnAlarmModel.AlarmCapabilitiesProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotevents.CfnAlarmModel.AlarmCapabilitiesProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlarmModel.AlarmCapabilitiesProperty>
- Enclosing interface:
CfnAlarmModel.AlarmCapabilitiesProperty
@Stability(Stable)
public static final class CfnAlarmModel.AlarmCapabilitiesProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlarmModel.AlarmCapabilitiesProperty>
A builder for
CfnAlarmModel.AlarmCapabilitiesProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionacknowledgeFlow(IResolvable acknowledgeFlow) Sets the value ofCfnAlarmModel.AlarmCapabilitiesProperty.getAcknowledgeFlow()acknowledgeFlow(CfnAlarmModel.AcknowledgeFlowProperty acknowledgeFlow) Sets the value ofCfnAlarmModel.AlarmCapabilitiesProperty.getAcknowledgeFlow()build()Builds the configured instance.initializationConfiguration(IResolvable initializationConfiguration) Sets the value ofCfnAlarmModel.AlarmCapabilitiesProperty.getInitializationConfiguration()initializationConfiguration(CfnAlarmModel.InitializationConfigurationProperty initializationConfiguration) Sets the value ofCfnAlarmModel.AlarmCapabilitiesProperty.getInitializationConfiguration()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
acknowledgeFlow
@Stability(Stable) public CfnAlarmModel.AlarmCapabilitiesProperty.Builder acknowledgeFlow(IResolvable acknowledgeFlow) Sets the value ofCfnAlarmModel.AlarmCapabilitiesProperty.getAcknowledgeFlow()- Parameters:
acknowledgeFlow- Specifies whether to get notified for alarm state changes.- Returns:
this
-
acknowledgeFlow
@Stability(Stable) public CfnAlarmModel.AlarmCapabilitiesProperty.Builder acknowledgeFlow(CfnAlarmModel.AcknowledgeFlowProperty acknowledgeFlow) Sets the value ofCfnAlarmModel.AlarmCapabilitiesProperty.getAcknowledgeFlow()- Parameters:
acknowledgeFlow- Specifies whether to get notified for alarm state changes.- Returns:
this
-
initializationConfiguration
@Stability(Stable) public CfnAlarmModel.AlarmCapabilitiesProperty.Builder initializationConfiguration(IResolvable initializationConfiguration) Sets the value ofCfnAlarmModel.AlarmCapabilitiesProperty.getInitializationConfiguration()- Parameters:
initializationConfiguration- Specifies the default alarm state. The configuration applies to all alarms that were created based on this alarm model.- Returns:
this
-
initializationConfiguration
@Stability(Stable) public CfnAlarmModel.AlarmCapabilitiesProperty.Builder initializationConfiguration(CfnAlarmModel.InitializationConfigurationProperty initializationConfiguration) Sets the value ofCfnAlarmModel.AlarmCapabilitiesProperty.getInitializationConfiguration()- Parameters:
initializationConfiguration- Specifies the default alarm state. The configuration applies to all alarms that were created based on this alarm model.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAlarmModel.AlarmCapabilitiesProperty>- Returns:
- a new instance of
CfnAlarmModel.AlarmCapabilitiesProperty - Throws:
NullPointerException- if any required attribute was not provided
-