@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SearchQuantumTasksResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
SearchQuantumTasksResult() |
Modifier and Type | Method and Description |
---|---|
SearchQuantumTasksResult |
clone() |
boolean |
equals(Object obj) |
String |
getNextToken()
A token used for pagination of results, or null if there are no additional results.
|
List<QuantumTaskSummary> |
getQuantumTasks()
An array of
QuantumTaskSummary objects for tasks that match the specified filters. |
int |
hashCode() |
void |
setNextToken(String nextToken)
A token used for pagination of results, or null if there are no additional results.
|
void |
setQuantumTasks(Collection<QuantumTaskSummary> quantumTasks)
An array of
QuantumTaskSummary objects for tasks that match the specified filters. |
String |
toString()
Returns a string representation of this object.
|
SearchQuantumTasksResult |
withNextToken(String nextToken)
A token used for pagination of results, or null if there are no additional results.
|
SearchQuantumTasksResult |
withQuantumTasks(Collection<QuantumTaskSummary> quantumTasks)
An array of
QuantumTaskSummary objects for tasks that match the specified filters. |
SearchQuantumTasksResult |
withQuantumTasks(QuantumTaskSummary... quantumTasks)
An array of
QuantumTaskSummary objects for tasks that match the specified filters. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setNextToken(String nextToken)
A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.
nextToken
- A token used for pagination of results, or null if there are no additional results. Use the token value in
a subsequent request to continue results where the previous request ended.public String getNextToken()
A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.
public SearchQuantumTasksResult withNextToken(String nextToken)
A token used for pagination of results, or null if there are no additional results. Use the token value in a subsequent request to continue results where the previous request ended.
nextToken
- A token used for pagination of results, or null if there are no additional results. Use the token value in
a subsequent request to continue results where the previous request ended.public List<QuantumTaskSummary> getQuantumTasks()
An array of QuantumTaskSummary
objects for tasks that match the specified filters.
QuantumTaskSummary
objects for tasks that match the specified filters.public void setQuantumTasks(Collection<QuantumTaskSummary> quantumTasks)
An array of QuantumTaskSummary
objects for tasks that match the specified filters.
quantumTasks
- An array of QuantumTaskSummary
objects for tasks that match the specified filters.public SearchQuantumTasksResult withQuantumTasks(QuantumTaskSummary... quantumTasks)
An array of QuantumTaskSummary
objects for tasks that match the specified filters.
NOTE: This method appends the values to the existing list (if any). Use
setQuantumTasks(java.util.Collection)
or withQuantumTasks(java.util.Collection)
if you want to
override the existing values.
quantumTasks
- An array of QuantumTaskSummary
objects for tasks that match the specified filters.public SearchQuantumTasksResult withQuantumTasks(Collection<QuantumTaskSummary> quantumTasks)
An array of QuantumTaskSummary
objects for tasks that match the specified filters.
quantumTasks
- An array of QuantumTaskSummary
objects for tasks that match the specified filters.public String toString()
toString
in class Object
Object.toString()
public SearchQuantumTasksResult clone()