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