Class CfnStateMachineVersionMixinProps.Builder
java.lang.Object
software.amazon.awscdk.mixins.preview.services.stepfunctions.mixins.CfnStateMachineVersionMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStateMachineVersionMixinProps>
- Enclosing interface:
CfnStateMachineVersionMixinProps
@Stability(Stable)
public static final class CfnStateMachineVersionMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStateMachineVersionMixinProps>
A builder for
CfnStateMachineVersionMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnStateMachineVersionMixinProps.getDescription()stateMachineArn(String stateMachineArn) Sets the value ofCfnStateMachineVersionMixinProps.getStateMachineArn()stateMachineRevisionId(String stateMachineRevisionId) Sets the value ofCfnStateMachineVersionMixinProps.getStateMachineRevisionId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnStateMachineVersionMixinProps.getDescription()- Parameters:
description- An optional description of the state machine version.- Returns:
this
-
stateMachineArn
@Stability(Stable) public CfnStateMachineVersionMixinProps.Builder stateMachineArn(String stateMachineArn) Sets the value ofCfnStateMachineVersionMixinProps.getStateMachineArn()- Parameters:
stateMachineArn- The Amazon Resource Name (ARN) of the state machine.- Returns:
this
-
stateMachineRevisionId
@Stability(Stable) public CfnStateMachineVersionMixinProps.Builder stateMachineRevisionId(String stateMachineRevisionId) Sets the value ofCfnStateMachineVersionMixinProps.getStateMachineRevisionId()- Parameters:
stateMachineRevisionId- Identifier for a state machine revision, which is an immutable, read-only snapshot of a state machine’s definition and configuration. Only publish the state machine version if the current state machine's revision ID matches the specified ID. Use this option to avoid publishing a version if the state machine has changed since you last updated it.To specify the initial state machine revision, set the value as
INITIAL.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStateMachineVersionMixinProps>- Returns:
- a new instance of
CfnStateMachineVersionMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-