Interface ListWorkerBlocksResponse.Builder

    • Method Detail

      • nextToken

        ListWorkerBlocksResponse.Builder nextToken​(String nextToken)
        Sets the value of the NextToken property for this object.
        Parameters:
        nextToken - The new value for the NextToken property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • numResults

        ListWorkerBlocksResponse.Builder numResults​(Integer numResults)

        The number of assignments on the page in the filtered results list, equivalent to the number of assignments returned by this call.

        Parameters:
        numResults - The number of assignments on the page in the filtered results list, equivalent to the number of assignments returned by this call.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • workerBlocks

        ListWorkerBlocksResponse.Builder workerBlocks​(Collection<WorkerBlock> workerBlocks)

        The list of WorkerBlocks, containing the collection of Worker IDs and reasons for blocking.

        Parameters:
        workerBlocks - The list of WorkerBlocks, containing the collection of Worker IDs and reasons for blocking.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • workerBlocks

        ListWorkerBlocksResponse.Builder workerBlocks​(WorkerBlock... workerBlocks)

        The list of WorkerBlocks, containing the collection of Worker IDs and reasons for blocking.

        Parameters:
        workerBlocks - The list of WorkerBlocks, containing the collection of Worker IDs and reasons for blocking.
        Returns:
        Returns a reference to this object so that method calls can be chained together.