@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListWorkersResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListWorkersResult() |
| Modifier and Type | Method and Description |
|---|---|
ListWorkersResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
If Deadline Cloud returns
nextToken, then there are more results available. |
List<WorkerSummary> |
getWorkers()
The workers on the list.
|
int |
hashCode() |
void |
setNextToken(String nextToken)
If Deadline Cloud returns
nextToken, then there are more results available. |
void |
setWorkers(Collection<WorkerSummary> workers)
The workers on the list.
|
String |
toString()
Returns a string representation of this object.
|
ListWorkersResult |
withNextToken(String nextToken)
If Deadline Cloud returns
nextToken, then there are more results available. |
ListWorkersResult |
withWorkers(Collection<WorkerSummary> workers)
The workers on the list.
|
ListWorkersResult |
withWorkers(WorkerSummary... workers)
The workers on the list.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setNextToken(String nextToken)
If Deadline Cloud returns nextToken, then there are more results available. The value of
nextToken is a unique pagination token for each page. To retrieve the next page, call the operation
again using the returned token. Keep all other arguments unchanged. If no results remain, then
nextToken is set to null. Each pagination token expires after 24 hours. If you provide
a token that isn't valid, then you receive an HTTP 400 ValidationException error.
nextToken - If Deadline Cloud returns nextToken, then there are more results available. The value of
nextToken is a unique pagination token for each page. To retrieve the next page, call the
operation again using the returned token. Keep all other arguments unchanged. If no results remain, then
nextToken is set to null. Each pagination token expires after 24 hours. If you
provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.public String getNextToken()
If Deadline Cloud returns nextToken, then there are more results available. The value of
nextToken is a unique pagination token for each page. To retrieve the next page, call the operation
again using the returned token. Keep all other arguments unchanged. If no results remain, then
nextToken is set to null. Each pagination token expires after 24 hours. If you provide
a token that isn't valid, then you receive an HTTP 400 ValidationException error.
nextToken, then there are more results available. The value of
nextToken is a unique pagination token for each page. To retrieve the next page, call the
operation again using the returned token. Keep all other arguments unchanged. If no results remain, then
nextToken is set to null. Each pagination token expires after 24 hours. If you
provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.public ListWorkersResult withNextToken(String nextToken)
If Deadline Cloud returns nextToken, then there are more results available. The value of
nextToken is a unique pagination token for each page. To retrieve the next page, call the operation
again using the returned token. Keep all other arguments unchanged. If no results remain, then
nextToken is set to null. Each pagination token expires after 24 hours. If you provide
a token that isn't valid, then you receive an HTTP 400 ValidationException error.
nextToken - If Deadline Cloud returns nextToken, then there are more results available. The value of
nextToken is a unique pagination token for each page. To retrieve the next page, call the
operation again using the returned token. Keep all other arguments unchanged. If no results remain, then
nextToken is set to null. Each pagination token expires after 24 hours. If you
provide a token that isn't valid, then you receive an HTTP 400 ValidationException error.public List<WorkerSummary> getWorkers()
The workers on the list.
public void setWorkers(Collection<WorkerSummary> workers)
The workers on the list.
workers - The workers on the list.public ListWorkersResult withWorkers(WorkerSummary... workers)
The workers on the list.
NOTE: This method appends the values to the existing list (if any). Use
setWorkers(java.util.Collection) or withWorkers(java.util.Collection) if you want to override
the existing values.
workers - The workers on the list.public ListWorkersResult withWorkers(Collection<WorkerSummary> workers)
The workers on the list.
workers - The workers on the list.public String toString()
toString in class ObjectObject.toString()public ListWorkersResult clone()