Class PublishStateMachineVersionRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<PublishStateMachineVersionRequest.Builder,PublishStateMachineVersionRequest>
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringAn optional description of the state machine version.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringOnly publish the state machine version if the current state machine's revision ID matches the specified ID.static Class<? extends PublishStateMachineVersionRequest.Builder>final StringThe Amazon Resource Name (ARN) of the state machine.final StringtoString()Returns a string representation of this object.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
stateMachineArn
The Amazon Resource Name (ARN) of the state machine.
- Returns:
- The Amazon Resource Name (ARN) of the state machine.
-
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
An optional description of the state machine version.
- Returns:
- An optional description of the state machine version.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<PublishStateMachineVersionRequest.Builder,PublishStateMachineVersionRequest> - Specified by:
toBuilderin classSfnRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-