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 SendTaskFailureRequest

    • Constructor Detail

      • SendTaskFailureRequest

        public SendTaskFailureRequest()
    • Method Detail

      • setTaskToken

        public void setTaskToken(String taskToken)

        The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.

        Parameters:
        taskToken - The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.
      • getTaskToken

        public String getTaskToken()

        The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.

        Returns:
        The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.
      • withTaskToken

        public SendTaskFailureRequest withTaskToken(String taskToken)

        The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.

        Parameters:
        taskToken - The token that represents this task. Task tokens are generated by Step Functions when tasks are assigned to a worker, or in the context object when a workflow enters a task state. See GetActivityTaskOutput$taskToken.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setError

        public void setError(String error)

        The error code of the failure.

        Parameters:
        error - The error code of the failure.
      • getError

        public String getError()

        The error code of the failure.

        Returns:
        The error code of the failure.
      • withError

        public SendTaskFailureRequest withError(String error)

        The error code of the failure.

        Parameters:
        error - The error code of the failure.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • setCause

        public void setCause(String cause)

        A more detailed explanation of the cause of the failure.

        Parameters:
        cause - A more detailed explanation of the cause of the failure.
      • getCause

        public String getCause()

        A more detailed explanation of the cause of the failure.

        Returns:
        A more detailed explanation of the cause of the failure.
      • withCause

        public SendTaskFailureRequest withCause(String cause)

        A more detailed explanation of the cause of the failure.

        Parameters:
        cause - A more detailed explanation of the cause of the failure.
        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 によって変換されたページ (->オリジナル) /