@Generated(value="software.amazon.awssdk:codegen") public final class PublishStateMachineVersionRequest extends SfnRequest implements ToCopyableBuilder<PublishStateMachineVersionRequest.Builder,PublishStateMachineVersionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
PublishStateMachineVersionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static PublishStateMachineVersionRequest.Builder |
builder() |
String |
description()
An optional description of the state machine version.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
revisionId()
Only publish the state machine version if the current state machine's revision ID matches the specified ID.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends PublishStateMachineVersionRequest.Builder> |
serializableBuilderClass() |
String |
stateMachineArn()
The Amazon Resource Name (ARN) of the state machine.
|
PublishStateMachineVersionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String stateMachineArn()
The Amazon Resource Name (ARN) of the state machine.
public final 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.
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.
public final String description()
An optional description of the state machine version.
public PublishStateMachineVersionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<PublishStateMachineVersionRequest.Builder,PublishStateMachineVersionRequest>toBuilder in class SfnRequestpublic static PublishStateMachineVersionRequest.Builder builder()
public static Class<? extends PublishStateMachineVersionRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.