Class CfnDetectorModel.OnInputProperty.Builder
java.lang.Object
software.amazon.awscdk.services.iotevents.CfnDetectorModel.OnInputProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetectorModel.OnInputProperty>
- Enclosing interface:
CfnDetectorModel.OnInputProperty
@Stability(Stable)
public static final class CfnDetectorModel.OnInputProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetectorModel.OnInputProperty>
A builder for
CfnDetectorModel.OnInputProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnDetectorModel.OnInputProperty.getEvents()events(IResolvable events) Sets the value ofCfnDetectorModel.OnInputProperty.getEvents()transitionEvents(List<? extends Object> transitionEvents) Sets the value ofCfnDetectorModel.OnInputProperty.getTransitionEvents()transitionEvents(IResolvable transitionEvents) Sets the value ofCfnDetectorModel.OnInputProperty.getTransitionEvents()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
events
Sets the value ofCfnDetectorModel.OnInputProperty.getEvents()- Parameters:
events- Specifies the actions performed when theconditionevaluates to TRUE.- Returns:
this
-
events
@Stability(Stable) public CfnDetectorModel.OnInputProperty.Builder events(List<? extends Object> events) Sets the value ofCfnDetectorModel.OnInputProperty.getEvents()- Parameters:
events- Specifies the actions performed when theconditionevaluates to TRUE.- Returns:
this
-
transitionEvents
@Stability(Stable) public CfnDetectorModel.OnInputProperty.Builder transitionEvents(IResolvable transitionEvents) Sets the value ofCfnDetectorModel.OnInputProperty.getTransitionEvents()- Parameters:
transitionEvents- Specifies the actions performed, and the next state entered, when aconditionevaluates to TRUE.- Returns:
this
-
transitionEvents
@Stability(Stable) public CfnDetectorModel.OnInputProperty.Builder transitionEvents(List<? extends Object> transitionEvents) Sets the value ofCfnDetectorModel.OnInputProperty.getTransitionEvents()- Parameters:
transitionEvents- Specifies the actions performed, and the next state entered, when aconditionevaluates to TRUE.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDetectorModel.OnInputProperty>- Returns:
- a new instance of
CfnDetectorModel.OnInputProperty - Throws:
NullPointerException- if any required attribute was not provided
-