public static interface PublishStateMachineVersionRequest.Builder extends SfnRequest.Builder, SdkPojo, CopyableBuilder<PublishStateMachineVersionRequest.Builder,PublishStateMachineVersionRequest>
| Modifier and Type | Method and Description |
|---|---|
PublishStateMachineVersionRequest.Builder |
description(String description)
An optional description of the state machine version.
|
PublishStateMachineVersionRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
PublishStateMachineVersionRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
PublishStateMachineVersionRequest.Builder |
revisionId(String revisionId)
Only publish the state machine version if the current state machine's revision ID matches the specified ID.
|
PublishStateMachineVersionRequest.Builder |
stateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) of the state machine.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildPublishStateMachineVersionRequest.Builder stateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) of the state machine.
stateMachineArn - The Amazon Resource Name (ARN) of the state machine.PublishStateMachineVersionRequest.Builder revisionId(String revisionId)
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 changed since you last updated it. If the
specified revision ID doesn't match the state machine's current revision ID, the API returns
ConflictException.
To specify an initial revision ID for a state machine with no revision ID assigned, specify the string
INITIAL for the revisionId parameter. For example, you can specify a
revisionID of INITIAL when you create a state machine using the
CreateStateMachine API action.
revisionId - 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 changed since you last updated it.
If the specified revision ID doesn't match the state machine's current revision ID, the API returns
ConflictException.
To specify an initial revision ID for a state machine with no revision ID assigned, specify the string
INITIAL for the revisionId parameter. For example, you can specify a
revisionID of INITIAL when you create a state machine using the
CreateStateMachine API action.
PublishStateMachineVersionRequest.Builder description(String description)
An optional description of the state machine version.
description - An optional description of the state machine version.PublishStateMachineVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderPublishStateMachineVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.