@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWorkerBlocksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListWorkerBlocksResult() |
Modifier and Type | Method and Description |
---|---|
ListWorkerBlocksResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken() |
Integer |
getNumResults()
The number of assignments on the page in the filtered results list, equivalent to the number of assignments
returned by this call.
|
List<WorkerBlock> |
getWorkerBlocks()
The list of WorkerBlocks, containing the collection of Worker IDs and reasons for blocking.
|
int |
hashCode() |
void |
setNextToken(String nextToken) |
void |
setNumResults(Integer numResults)
The number of assignments on the page in the filtered results list, equivalent to the number of assignments
returned by this call.
|
void |
setWorkerBlocks(Collection<WorkerBlock> workerBlocks)
The list of WorkerBlocks, containing the collection of Worker IDs and reasons for blocking.
|
String |
toString()
Returns a string representation of this object.
|
ListWorkerBlocksResult |
withNextToken(String nextToken) |
ListWorkerBlocksResult |
withNumResults(Integer numResults)
The number of assignments on the page in the filtered results list, equivalent to the number of assignments
returned by this call.
|
ListWorkerBlocksResult |
withWorkerBlocks(Collection<WorkerBlock> workerBlocks)
The list of WorkerBlocks, containing the collection of Worker IDs and reasons for blocking.
|
ListWorkerBlocksResult |
withWorkerBlocks(WorkerBlock... workerBlocks)
The list of WorkerBlocks, containing the collection of Worker IDs and reasons for blocking.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
nextToken
- public String getNextToken()
public ListWorkerBlocksResult withNextToken(String nextToken)
nextToken
- public void setNumResults(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.public Integer getNumResults()
The number of assignments on the page in the filtered results list, equivalent to the number of assignments returned by this call.
public ListWorkerBlocksResult withNumResults(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.public List<WorkerBlock> getWorkerBlocks()
The list of WorkerBlocks, containing the collection of Worker IDs and reasons for blocking.
public void setWorkerBlocks(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.public ListWorkerBlocksResult withWorkerBlocks(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.public ListWorkerBlocksResult withWorkerBlocks(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.public String toString()
toString
in class Object
Object.toString()
public ListWorkerBlocksResult clone()