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
-
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 thecondition
evaluates 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 thecondition
evaluates 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 acondition
evaluates 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 acondition
evaluates to TRUE.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDetectorModel.OnInputProperty>
- Returns:
- a new instance of
CfnDetectorModel.OnInputProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-