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