Class CfnStateMachineVersionPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.stepfunctions.CfnStateMachineVersionPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnStateMachineVersionPropsMixin>
- Enclosing class:
CfnStateMachineVersionPropsMixin
@Stability(Stable)
public static final class CfnStateMachineVersionPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnStateMachineVersionPropsMixin>
A fluent builder for
CfnStateMachineVersionPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionbuild()create()create(CfnPropertyMixinOptions options) description(String description) An optional description of the state machine version.stateMachineArn(String stateMachineArn) The Amazon Resource Name (ARN) of the state machine.stateMachineRevisionId(String stateMachineRevisionId) Identifier for a state machine revision, which is an immutable, read-only snapshot of a state machine’s definition and configuration.
-
Method Details
-
create
@Stability(Stable) public static CfnStateMachineVersionPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnStateMachineVersionPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnStateMachineVersionPropsMixin.Builder.
-
description
An optional description of the state machine version.- Parameters:
description- An optional description of the state machine version. This parameter is required.- Returns:
this- See Also:
-
stateMachineArn
@Stability(Stable) public CfnStateMachineVersionPropsMixin.Builder stateMachineArn(String stateMachineArn) The Amazon Resource Name (ARN) of the state machine.- Parameters:
stateMachineArn- The Amazon Resource Name (ARN) of the state machine. This parameter is required.- Returns:
this- See Also:
-
stateMachineRevisionId
@Stability(Stable) public CfnStateMachineVersionPropsMixin.Builder stateMachineRevisionId(String 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.- Parameters:
stateMachineRevisionId- Identifier for a state machine revision, which is an immutable, read-only snapshot of a state machine’s definition and configuration. This parameter is required.- Returns:
this- See Also:
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnStateMachineVersionPropsMixin>- Returns:
- a newly built instance of
CfnStateMachineVersionPropsMixin.
-