@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<Job> |
getJobs()
List of jobs.
|
String |
getNextToken()
Use this string to request the next batch of jobs.
|
int |
hashCode() |
void |
setJobs(Collection<Job> jobs)
List of jobs.
|
void |
setNextToken(String nextToken)
Use this string to request the next batch of jobs.
|
String |
toString()
Returns a string representation of this object.
|
SearchJobsResult |
withJobs(Collection<Job> jobs)
List of jobs.
|
SearchJobsResult |
withJobs(Job... jobs)
List of jobs.
|
SearchJobsResult |
withNextToken(String nextToken)
Use this string to request the next batch of jobs.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setJobs(Collection<Job> jobs)
jobs
- List of jobs.public SearchJobsResult withJobs(Job... jobs)
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
- List of jobs.public SearchJobsResult withJobs(Collection<Job> jobs)
jobs
- List of jobs.public void setNextToken(String nextToken)
nextToken
- Use this string to request the next batch of jobs.public String getNextToken()
public SearchJobsResult withNextToken(String nextToken)
nextToken
- Use this string to request the next batch of jobs.public String toString()
toString
in class Object
Object.toString()
public SearchJobsResult clone()