Class CfnDetectorModelPropsMixin.TransitionEventProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iotevents.CfnDetectorModelPropsMixin.TransitionEventProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDetectorModelPropsMixin.TransitionEventProperty>
- Enclosing interface:
CfnDetectorModelPropsMixin.TransitionEventProperty
@Stability(Stable)
public static final class CfnDetectorModelPropsMixin.TransitionEventProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDetectorModelPropsMixin.TransitionEventProperty>
A builder for
CfnDetectorModelPropsMixin.TransitionEventProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnDetectorModelPropsMixin.TransitionEventProperty.getActions()actions(IResolvable actions) Sets the value ofCfnDetectorModelPropsMixin.TransitionEventProperty.getActions()build()Builds the configured instance.Sets the value ofCfnDetectorModelPropsMixin.TransitionEventProperty.getCondition()Sets the value ofCfnDetectorModelPropsMixin.TransitionEventProperty.getEventName()Sets the value ofCfnDetectorModelPropsMixin.TransitionEventProperty.getNextState()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
actions
@Stability(Stable) public CfnDetectorModelPropsMixin.TransitionEventProperty.Builder actions(IResolvable actions) Sets the value ofCfnDetectorModelPropsMixin.TransitionEventProperty.getActions()- Parameters:
actions- The actions to be performed.- Returns:
this
-
actions
@Stability(Stable) public CfnDetectorModelPropsMixin.TransitionEventProperty.Builder actions(List<? extends Object> actions) Sets the value ofCfnDetectorModelPropsMixin.TransitionEventProperty.getActions()- Parameters:
actions- The actions to be performed.- Returns:
this
-
condition
@Stability(Stable) public CfnDetectorModelPropsMixin.TransitionEventProperty.Builder condition(String condition) Sets the value ofCfnDetectorModelPropsMixin.TransitionEventProperty.getCondition()- Parameters:
condition- Required. A Boolean expression that when TRUE causes the actions to be performed and thenextStateto be entered.- Returns:
this
-
eventName
@Stability(Stable) public CfnDetectorModelPropsMixin.TransitionEventProperty.Builder eventName(String eventName) Sets the value ofCfnDetectorModelPropsMixin.TransitionEventProperty.getEventName()- Parameters:
eventName- The name of the transition event.- Returns:
this
-
nextState
@Stability(Stable) public CfnDetectorModelPropsMixin.TransitionEventProperty.Builder nextState(String nextState) Sets the value ofCfnDetectorModelPropsMixin.TransitionEventProperty.getNextState()- Parameters:
nextState- The next state to enter.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDetectorModelPropsMixin.TransitionEventProperty>- Returns:
- a new instance of
CfnDetectorModelPropsMixin.TransitionEventProperty - Throws:
NullPointerException- if any required attribute was not provided
-