Class CfnExecutionProps.Builder
java.lang.Object
software.amazon.awscdk.services.states.CfnExecutionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnExecutionProps>
- Enclosing interface:
CfnExecutionProps
@Stability(Stable)
public static final class CfnExecutionProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnExecutionProps>
A builder for
CfnExecutionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnExecutionProps.getInput()Sets the value ofCfnExecutionProps.getName()stateMachineArn(String stateMachineArn) Sets the value ofCfnExecutionProps.getStateMachineArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
stateMachineArn
Sets the value ofCfnExecutionProps.getStateMachineArn()- Parameters:
stateMachineArn- The Amazon Resource Name (ARN) of the state machine that was executed. This parameter is required.- Returns:
this
-
input
Sets the value ofCfnExecutionProps.getInput()- Parameters:
input- The string that contains the JSON input data for the execution.- Returns:
this
-
name
Sets the value ofCfnExecutionProps.getName()- Parameters:
name- The name of the execution.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnExecutionProps>- Returns:
- a new instance of
CfnExecutionProps - Throws:
NullPointerException- if any required attribute was not provided
-