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