Interface PollForActivityTaskRequest.Builder

    • Method Detail

      • domain

        PollForActivityTaskRequest.Builder domain​(String domain)

        The name of the domain that contains the task lists being polled.

        Parameters:
        domain - The name of the domain that contains the task lists being polled.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • taskList

        PollForActivityTaskRequest.Builder taskList​(TaskList taskList)

        Specifies the task list to poll for activity tasks.

        The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters (- | -Ÿ). Also, it must not be the literal string arn.

        Parameters:
        taskList - Specifies the task list to poll for activity tasks.

        The specified string must not start or end with whitespace. It must not contain a : (colon), / (slash), | (vertical bar), or any control characters ( - | -Ÿ). Also, it must not be the literal string arn.

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

        PollForActivityTaskRequest.Builder identity​(String identity)

        Identity of the worker making the request, recorded in the ActivityTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.

        Parameters:
        identity - Identity of the worker making the request, recorded in the ActivityTaskStarted event in the workflow history. This enables diagnostic tracing when problems arise. The form of this identity is user defined.
        Returns:
        Returns a reference to this object so that method calls can be chained together.