Class CfnTopicRulePropsMixin.StepFunctionsActionProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.iot.CfnTopicRulePropsMixin.StepFunctionsActionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTopicRulePropsMixin.StepFunctionsActionProperty>
- Enclosing interface:
CfnTopicRulePropsMixin.StepFunctionsActionProperty
@Stability(Stable)
public static final class CfnTopicRulePropsMixin.StepFunctionsActionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTopicRulePropsMixin.StepFunctionsActionProperty>
A builder for
CfnTopicRulePropsMixin.StepFunctionsActionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.executionNamePrefix(String executionNamePrefix) Sets the value ofCfnTopicRulePropsMixin.StepFunctionsActionProperty.getRoleArn()stateMachineName(String stateMachineName) Sets the value ofCfnTopicRulePropsMixin.StepFunctionsActionProperty.getStateMachineName()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
executionNamePrefix
@Stability(Stable) public CfnTopicRulePropsMixin.StepFunctionsActionProperty.Builder executionNamePrefix(String executionNamePrefix) - Parameters:
executionNamePrefix- (Optional) A name will be given to the state machine execution consisting of this prefix followed by a UUID. Step Functions automatically creates a unique name for each state machine execution if one is not provided.- Returns:
this
-
roleArn
@Stability(Stable) public CfnTopicRulePropsMixin.StepFunctionsActionProperty.Builder roleArn(String roleArn) Sets the value ofCfnTopicRulePropsMixin.StepFunctionsActionProperty.getRoleArn()- Parameters:
roleArn- The ARN of the role that grants IoT permission to start execution of a state machine ("Action":"states:StartExecution").- Returns:
this
-
stateMachineName
@Stability(Stable) public CfnTopicRulePropsMixin.StepFunctionsActionProperty.Builder stateMachineName(String stateMachineName) Sets the value ofCfnTopicRulePropsMixin.StepFunctionsActionProperty.getStateMachineName()- Parameters:
stateMachineName- The name of the Step Functions state machine whose execution will be started.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTopicRulePropsMixin.StepFunctionsActionProperty>- Returns:
- a new instance of
CfnTopicRulePropsMixin.StepFunctionsActionProperty - Throws:
NullPointerException- if any required attribute was not provided
-