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