Class PollForActivityTaskRequest

    • Method Detail

      • domain

        public final String domain()

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

        Returns:
        The name of the domain that contains the task lists being polled.
      • taskList

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

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

      • identity

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

        Returns:
        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.
      • toString

        public final 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