@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListJobsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
ListJobsResult() |
Modifier and Type | Method and Description |
---|---|
ListJobsResult |
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.
|
ListJobsResult |
withJobs(Collection<Job> jobs)
List of jobs
|
ListJobsResult |
withJobs(Job... jobs)
List of jobs
|
ListJobsResult |
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 jobspublic ListJobsResult 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 jobspublic ListJobsResult withJobs(Collection<Job> jobs)
jobs
- List of jobspublic void setNextToken(String nextToken)
nextToken
- Use this string to request the next batch of jobs.public String getNextToken()
public ListJobsResult withNextToken(String nextToken)
nextToken
- Use this string to request the next batch of jobs.public String toString()
toString
in class Object
Object.toString()
public ListJobsResult clone()