Interface WorkerBlock.Builder

All Superinterfaces:
Buildable, CopyableBuilder<WorkerBlock.Builder,WorkerBlock>, SdkBuilder<WorkerBlock.Builder,WorkerBlock>, SdkPojo
Enclosing class:
WorkerBlock

public static interface WorkerBlock.Builder extends SdkPojo, CopyableBuilder<WorkerBlock.Builder,WorkerBlock>
  • Method Details

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