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