Class CfnAlarmModelPropsMixin.SimpleRuleProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotevents.CfnAlarmModelPropsMixin.SimpleRuleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnAlarmModelPropsMixin.SimpleRuleProperty>
- Enclosing interface:
CfnAlarmModelPropsMixin.SimpleRuleProperty
@Stability(Stable)
public static final class CfnAlarmModelPropsMixin.SimpleRuleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnAlarmModelPropsMixin.SimpleRuleProperty>
A builder for
CfnAlarmModelPropsMixin.SimpleRuleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.comparisonOperator(String comparisonOperator) Sets the value ofCfnAlarmModelPropsMixin.SimpleRuleProperty.getComparisonOperator()inputProperty(String inputProperty) Sets the value ofCfnAlarmModelPropsMixin.SimpleRuleProperty.getInputProperty()Sets the value ofCfnAlarmModelPropsMixin.SimpleRuleProperty.getThreshold()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
comparisonOperator
@Stability(Stable) public CfnAlarmModelPropsMixin.SimpleRuleProperty.Builder comparisonOperator(String comparisonOperator) Sets the value ofCfnAlarmModelPropsMixin.SimpleRuleProperty.getComparisonOperator()- Parameters:
comparisonOperator- The comparison operator.- Returns:
this
-
inputProperty
@Stability(Stable) public CfnAlarmModelPropsMixin.SimpleRuleProperty.Builder inputProperty(String inputProperty) Sets the value ofCfnAlarmModelPropsMixin.SimpleRuleProperty.getInputProperty()- Parameters:
inputProperty- The value on the left side of the comparison operator. You can specify an AWS IoT Events input attribute as an input property.- Returns:
this
-
threshold
@Stability(Stable) public CfnAlarmModelPropsMixin.SimpleRuleProperty.Builder threshold(String threshold) Sets the value ofCfnAlarmModelPropsMixin.SimpleRuleProperty.getThreshold()- Parameters:
threshold- The value on the right side of the comparison operator. You can enter a number or specify an AWS IoT Events input attribute.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnAlarmModelPropsMixin.SimpleRuleProperty>- Returns:
- a new instance of
CfnAlarmModelPropsMixin.SimpleRuleProperty - Throws:
NullPointerException- if any required attribute was not provided
-