Class PublishStateMachineVersionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.sfn.model.SfnRequest
-
- software.amazon.awssdk.services.sfn.model.PublishStateMachineVersionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PublishStateMachineVersionRequest.Builder,PublishStateMachineVersionRequest>
@Generated("software.amazon.awssdk:codegen") public final class PublishStateMachineVersionRequest extends SfnRequest implements ToCopyableBuilder<PublishStateMachineVersionRequest.Builder,PublishStateMachineVersionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfacePublishStateMachineVersionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PublishStateMachineVersionRequest.Builderbuilder()Stringdescription()An optional description of the state machine version.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringrevisionId()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()StringstateMachineArn()The Amazon Resource Name (ARN) of the state machine.PublishStateMachineVersionRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
stateMachineArn
public final String stateMachineArn()
The Amazon Resource Name (ARN) of the state machine.
- Returns:
- The Amazon Resource Name (ARN) of the state machine.
-
revisionId
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
INITIALfor therevisionIdparameter. For example, you can specify arevisionIDofINITIALwhen you create a state machine using the CreateStateMachine API action.- Returns:
- 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.
-
description
public final String description()
An optional description of the state machine version.
- Returns:
- An optional description of the state machine version.
-
toBuilder
public PublishStateMachineVersionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<PublishStateMachineVersionRequest.Builder,PublishStateMachineVersionRequest>- Specified by:
toBuilderin classSfnRequest
-
builder
public static PublishStateMachineVersionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends PublishStateMachineVersionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-