@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PublishStateMachineVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PublishStateMachineVersionRequest() |
Modifier and Type | Method and Description |
---|---|
PublishStateMachineVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
An optional description of the state machine version.
|
String |
getRevisionId()
Only publish the state machine version if the current state machine's revision ID matches the specified ID.
|
String |
getStateMachineArn()
The Amazon Resource Name (ARN) of the state machine.
|
int |
hashCode() |
void |
setDescription(String description)
An optional description of the state machine version.
|
void |
setRevisionId(String revisionId)
Only publish the state machine version if the current state machine's revision ID matches the specified ID.
|
void |
setStateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) of the state machine.
|
String |
toString()
Returns a string representation of this object.
|
PublishStateMachineVersionRequest |
withDescription(String description)
An optional description of the state machine version.
|
PublishStateMachineVersionRequest |
withRevisionId(String revisionId)
Only publish the state machine version if the current state machine's revision ID matches the specified ID.
|
PublishStateMachineVersionRequest |
withStateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) of the state machine.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setStateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) of the state machine.
stateMachineArn
- The Amazon Resource Name (ARN) of the state machine.public String getStateMachineArn()
The Amazon Resource Name (ARN) of the state machine.
public PublishStateMachineVersionRequest withStateMachineArn(String stateMachineArn)
The Amazon Resource Name (ARN) of the state machine.
stateMachineArn
- The Amazon Resource Name (ARN) of the state machine.public void setRevisionId(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.
public String getRevisionId()
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 PublishStateMachineVersionRequest withRevisionId(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.
public void setDescription(String description)
An optional description of the state machine version.
description
- An optional description of the state machine version.public String getDescription()
An optional description of the state machine version.
public PublishStateMachineVersionRequest withDescription(String description)
An optional description of the state machine version.
description
- An optional description of the state machine version.public String toString()
toString
in class Object
Object.toString()
public PublishStateMachineVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()