Class CfnStateMachine.CloudWatchEventEventProperty.Builder
java.lang.Object
software.amazon.awscdk.services.sam.CfnStateMachine.CloudWatchEventEventProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStateMachine.CloudWatchEventEventProperty>
- Enclosing interface:
- CfnStateMachine.CloudWatchEventEventProperty
@Stability(Stable)
public static final class CfnStateMachine.CloudWatchEventEventProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStateMachine.CloudWatchEventEventProperty>
A builder for
CfnStateMachine.CloudWatchEventEventProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.eventBusName(String eventBusName) Sets the value ofCfnStateMachine.CloudWatchEventEventProperty.getEventBusName()Sets the value ofCfnStateMachine.CloudWatchEventEventProperty.getInput()Sets the value ofCfnStateMachine.CloudWatchEventEventProperty.getInputPath()Sets the value ofCfnStateMachine.CloudWatchEventEventProperty.getPattern()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
pattern
@Stability(Stable) public CfnStateMachine.CloudWatchEventEventProperty.Builder pattern(Object pattern) Sets the value ofCfnStateMachine.CloudWatchEventEventProperty.getPattern()- Parameters:
pattern-CfnStateMachine.CloudWatchEventEventProperty.Pattern. This parameter is required.- Returns:
this
-
eventBusName
@Stability(Stable) public CfnStateMachine.CloudWatchEventEventProperty.Builder eventBusName(String eventBusName) Sets the value ofCfnStateMachine.CloudWatchEventEventProperty.getEventBusName()- Parameters:
eventBusName-CfnStateMachine.CloudWatchEventEventProperty.EventBusName.- Returns:
this
-
input
Sets the value ofCfnStateMachine.CloudWatchEventEventProperty.getInput()- Parameters:
input-CfnStateMachine.CloudWatchEventEventProperty.Input.- Returns:
this
-
inputPath
@Stability(Stable) public CfnStateMachine.CloudWatchEventEventProperty.Builder inputPath(String inputPath) Sets the value ofCfnStateMachine.CloudWatchEventEventProperty.getInputPath()- Parameters:
inputPath-CfnStateMachine.CloudWatchEventEventProperty.InputPath.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStateMachine.CloudWatchEventEventProperty>- Returns:
- a new instance of
CfnStateMachine.CloudWatchEventEventProperty - Throws:
NullPointerException- if any required attribute was not provided
-