Interface PublishStateMachineVersionRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<PublishStateMachineVersionRequest.Builder,PublishStateMachineVersionRequest>,SdkBuilder<PublishStateMachineVersionRequest.Builder,PublishStateMachineVersionRequest>,SdkPojo,SdkRequest.Builder,SfnRequest.Builder
- Enclosing class:
- PublishStateMachineVersionRequest
public static interface PublishStateMachineVersionRequest.Builder extends SfnRequest.Builder, SdkPojo, CopyableBuilder<PublishStateMachineVersionRequest.Builder,PublishStateMachineVersionRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description PublishStateMachineVersionRequest.Builderdescription(String description)An optional description of the state machine version.PublishStateMachineVersionRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)PublishStateMachineVersionRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)PublishStateMachineVersionRequest.BuilderrevisionId(String revisionId)Only publish the state machine version if the current state machine's revision ID matches the specified ID.PublishStateMachineVersionRequest.BuilderstateMachineArn(String stateMachineArn)The Amazon Resource Name (ARN) of the state machine.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.sfn.model.SfnRequest.Builder
build
-
-
-
-
Method Detail
-
stateMachineArn
PublishStateMachineVersionRequest.Builder stateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) of the state machine.
- Parameters:
stateMachineArn- The Amazon Resource Name (ARN) of the state machine.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
revisionId
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
INITIALfor therevisionIdparameter. For example, you can specify arevisionIDofINITIALwhen you create a state machine using the CreateStateMachine API action.- Parameters:
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
INITIALfor therevisionIdparameter. For example, you can specify arevisionIDofINITIALwhen you create a state machine using the CreateStateMachine API action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
PublishStateMachineVersionRequest.Builder description(String description)
An optional description of the state machine version.
- Parameters:
description- An optional description of the state machine version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
PublishStateMachineVersionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
PublishStateMachineVersionRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-