JavaScript is disabled on your browser.
Skip navigation links

AWS SDK for Java 1.x API Reference - 1.12.795

We announced the upcoming end-of-support for AWS SDK for Java (v1). We recommend that you migrate to AWS SDK for Java v2. For dates, additional details, and information on how to migrate, please refer to the linked announcement.
com.amazonaws.services.stepfunctions.model

Class PublishStateMachineVersionRequest

    • Constructor Detail

      • PublishStateMachineVersionRequest

        public PublishStateMachineVersionRequest()
    • Method Detail

      • setStateMachineArn

        public void setStateMachineArn(String stateMachineArn)

        The Amazon Resource Name (ARN) of the state machine.

        Parameters:
        stateMachineArn - The Amazon Resource Name (ARN) of the state machine.
      • getStateMachineArn

        public String getStateMachineArn()

        The Amazon Resource Name (ARN) of the state machine.

        Returns:
        The Amazon Resource Name (ARN) of the state machine.
      • withStateMachineArn

        public PublishStateMachineVersionRequest withStateMachineArn(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.
      • setRevisionId

        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.

        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 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.

      • getRevisionId

        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.

        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 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.

      • withRevisionId

        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.

        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 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.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setDescription

        public void setDescription(String description)

        An optional description of the state machine version.

        Parameters:
        description - An optional description of the state machine version.
      • getDescription

        public String getDescription()

        An optional description of the state machine version.

        Returns:
        An optional description of the state machine version.
      • withDescription

        public PublishStateMachineVersionRequest withDescription(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.
      • toString

        public 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.
        Overrides:
        toString in class Object
        Returns:
        A string representation of this object.
        See Also:
        Object.toString()
Skip navigation links

AltStyle によって変換されたページ (->オリジナル) /