Interface WorkerBlock.Builder

    • Method Detail

      • workerId

        WorkerBlock.Builder workerId​(String workerId)

        The ID of the Worker who accepted the HIT.

        Parameters:
        workerId - The ID of the Worker who accepted the HIT.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • reason

        WorkerBlock.Builder reason​(String reason)

        A message explaining the reason the Worker was blocked.

        Parameters:
        reason - A message explaining the reason the Worker was blocked.
        Returns:
        Returns a reference to this object so that method calls can be chained together.