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