Class CfnAlarmModel.InitializationConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotevents.CfnAlarmModel.InitializationConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlarmModel.InitializationConfigurationProperty>
- Enclosing interface:
CfnAlarmModel.InitializationConfigurationProperty
@Stability(Stable)
public static final class CfnAlarmModel.InitializationConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlarmModel.InitializationConfigurationProperty>
A builder for
CfnAlarmModel.InitializationConfigurationProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.disabledOnInitialization
(Boolean disabledOnInitialization) disabledOnInitialization
(IResolvable disabledOnInitialization)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
disabledOnInitialization
@Stability(Stable) public CfnAlarmModel.InitializationConfigurationProperty.Builder disabledOnInitialization(Boolean disabledOnInitialization) - Parameters:
disabledOnInitialization
- The value must beTRUE
orFALSE
. This parameter is required. IfFALSE
, all alarm instances created based on the alarm model are activated. The default value isTRUE
.- Returns:
this
-
disabledOnInitialization
@Stability(Stable) public CfnAlarmModel.InitializationConfigurationProperty.Builder disabledOnInitialization(IResolvable disabledOnInitialization) - Parameters:
disabledOnInitialization
- The value must beTRUE
orFALSE
. This parameter is required. IfFALSE
, all alarm instances created based on the alarm model are activated. The default value isTRUE
.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnAlarmModel.InitializationConfigurationProperty>
- Returns:
- a new instance of
CfnAlarmModel.InitializationConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-