Class StepFunctionsStateMachineActionProps.Builder
java.lang.Object
software.amazon.awscdk.services.iot.actions.alpha.StepFunctionsStateMachineActionProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<StepFunctionsStateMachineActionProps>
- Enclosing interface:
StepFunctionsStateMachineActionProps
@Stability(Experimental)
public static final class StepFunctionsStateMachineActionProps.Builder
extends Object
implements software.amazon.jsii.Builder<StepFunctionsStateMachineActionProps>
A builder for
StepFunctionsStateMachineActionProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.executionNamePrefix(String executionNamePrefix) Sets the value ofStepFunctionsStateMachineActionProps.getExecutionNamePrefix()Sets the value ofCommonActionProps.getRole()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
executionNamePrefix
@Stability(Experimental) public StepFunctionsStateMachineActionProps.Builder executionNamePrefix(String executionNamePrefix) Sets the value ofStepFunctionsStateMachineActionProps.getExecutionNamePrefix()- Parameters:
executionNamePrefix- Name of the state machine execution prefix. The name given to the state machine execution consists of this prefix followed by a UUID. Step Functions creates a unique name for each state machine execution if one is not provided.- Returns:
this
-
role
Sets the value ofCommonActionProps.getRole()- Parameters:
role- The IAM role that allows access to AWS service.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<StepFunctionsStateMachineActionProps>- Returns:
- a new instance of
StepFunctionsStateMachineActionProps - Throws:
NullPointerException- if any required attribute was not provided
-