CopyableBuilder<ListWorkerBlocksResponse.Builder,ListWorkerBlocksResponse>
, SdkBuilder<ListWorkerBlocksResponse.Builder,ListWorkerBlocksResponse>
public static interface ListWorkerBlocksResponse.Builder extends CopyableBuilder<ListWorkerBlocksResponse.Builder,ListWorkerBlocksResponse>
Modifier and Type | Method | Description |
---|---|---|
ListWorkerBlocksResponse.Builder |
nextToken(String nextToken) |
|
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.
|
ListWorkerBlocksResponse.Builder |
workerBlocks(Collection<WorkerBlock> workerBlocks) |
The list of WorkerBlocks, containing the collection of Worker IDs and reasons for blocking.
|
ListWorkerBlocksResponse.Builder |
workerBlocks(WorkerBlock... workerBlocks) |
The list of WorkerBlocks, containing the collection of Worker IDs and reasons for blocking.
|
copy
apply, build
ListWorkerBlocksResponse.Builder nextToken(String nextToken)
nextToken
- 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.
numResults
- The number of assignments on the page in the filtered results list, equivalent to the number of
assignments returned by this call.ListWorkerBlocksResponse.Builder workerBlocks(Collection<WorkerBlock> workerBlocks)
The list of WorkerBlocks, containing the collection of Worker IDs and reasons for blocking.
workerBlocks
- The list of WorkerBlocks, containing the collection of Worker IDs and reasons for blocking.ListWorkerBlocksResponse.Builder workerBlocks(WorkerBlock... workerBlocks)
The list of WorkerBlocks, containing the collection of Worker IDs and reasons for blocking.
NOTE: This method appends the values to the existing list (if any). Use
#setWorkerBlocks(java.util.Collection)
or #withWorkerBlocks(java.util.Collection)
if you want
to override the existing values.
workerBlocks
- The list of WorkerBlocks, containing the collection of Worker IDs and reasons for blocking.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.