Class CfnEventActionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.dataexchange.CfnEventActionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnEventActionMixinProps>
- Enclosing interface:
CfnEventActionMixinProps
@Stability(Stable)
public static final class CfnEventActionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnEventActionMixinProps>
A builder for
CfnEventActionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnEventActionMixinProps.getAction()action(IResolvable action) Sets the value ofCfnEventActionMixinProps.getAction()build()Builds the configured instance.Sets the value ofCfnEventActionMixinProps.getEvent()event(IResolvable event) Sets the value ofCfnEventActionMixinProps.getEvent()Sets the value ofCfnEventActionMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
action
Sets the value ofCfnEventActionMixinProps.getAction()- Parameters:
action- What occurs after a certain event.- Returns:
this
-
action
@Stability(Stable) public CfnEventActionMixinProps.Builder action(CfnEventActionPropsMixin.ActionProperty action) Sets the value ofCfnEventActionMixinProps.getAction()- Parameters:
action- What occurs after a certain event.- Returns:
this
-
event
Sets the value ofCfnEventActionMixinProps.getEvent()- Parameters:
event- What occurs to start an action.- Returns:
this
-
event
@Stability(Stable) public CfnEventActionMixinProps.Builder event(CfnEventActionPropsMixin.EventProperty event) Sets the value ofCfnEventActionMixinProps.getEvent()- Parameters:
event- What occurs to start an action.- Returns:
this
-
tags
Sets the value ofCfnEventActionMixinProps.getTags()- Parameters:
tags- The tags for the event action.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnEventActionMixinProps>- Returns:
- a new instance of
CfnEventActionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-