Class RespondActivityTaskFailedRequest

java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.simpleworkflow.model.RespondActivityTaskFailedRequest
All Implemented Interfaces:
ReadLimitInfo, Serializable, Cloneable

public class RespondActivityTaskFailedRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
See Also:
  • Constructor Details

    • RespondActivityTaskFailedRequest

      public RespondActivityTaskFailedRequest()
  • Method Details

    • setTaskToken

      public void setTaskToken(String taskToken)

      The taskToken of the ActivityTask.

      taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results.
      Parameters:
      taskToken - The taskToken of the ActivityTask.

      taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results.
    • getTaskToken

      public String getTaskToken()

      The taskToken of the ActivityTask.

      taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results.
      Returns:
      The taskToken of the ActivityTask.

      taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results.
    • withTaskToken

      public RespondActivityTaskFailedRequest withTaskToken(String taskToken)

      The taskToken of the ActivityTask.

      taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results.
      Parameters:
      taskToken - The taskToken of the ActivityTask.

      taskToken is generated by the service and should be treated as an opaque value. If the task is passed to another process, its taskToken must also be passed. This enables it to provide its progress and respond with results.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setReason

      public void setReason(String reason)

      Description of the error that may assist in diagnostics.

      Parameters:
      reason - Description of the error that may assist in diagnostics.
    • getReason

      public String getReason()

      Description of the error that may assist in diagnostics.

      Returns:
      Description of the error that may assist in diagnostics.
    • withReason

      public RespondActivityTaskFailedRequest withReason(String reason)

      Description of the error that may assist in diagnostics.

      Parameters:
      reason - Description of the error that may assist in diagnostics.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setDetails

      public void setDetails(String details)

      Optional. Detailed information about the failure.

      Parameters:
      details - Optional.
    • getDetails

      public String getDetails()

      Optional. Detailed information about the failure.

      Returns:
      Optional.
    • withDetails

      public RespondActivityTaskFailedRequest withDetails(String details)

      Optional. Detailed information about the failure.

      Parameters:
      details - Optional.
      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; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Description copied from class: AmazonWebServiceRequest
      Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.
      Overrides:
      clone in class AmazonWebServiceRequest
      See Also: