Class RespondActivityTaskCanceledRequest

    • Constructor Detail

      • RespondActivityTaskCanceledRequest

        public RespondActivityTaskCanceledRequest()
    • Method Detail

      • 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 RespondActivityTaskCanceledRequest 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.
      • setDetails

        public void setDetails​(String details)

        Optional. Information about the cancellation.

        Parameters:
        details - Optional.
      • getDetails

        public String getDetails()

        Optional. Information about the cancellation.

        Returns:
        Optional.
      • withDetails

        public RespondActivityTaskCanceledRequest withDetails​(String details)

        Optional. Information about the cancellation.

        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:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object