public class ListJobsResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description | 
|---|
| ListJobsResult() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| java.util.List<JobSummary> | getJobs()
 A list of jobs. | 
| java.lang.String | getNextToken()
 The token for the next set of results, or null if there are no
 additional results. | 
| int | hashCode() | 
| void | setJobs(java.util.Collection<JobSummary> jobs)
 A list of jobs. | 
| void | setNextToken(java.lang.String nextToken)
 The token for the next set of results, or null if there are no
 additional results. | 
| java.lang.String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| ListJobsResult | withJobs(java.util.Collection<JobSummary> jobs)
 A list of jobs. | 
| ListJobsResult | withJobs(JobSummary... jobs)
 A list of jobs. | 
| ListJobsResult | withNextToken(java.lang.String nextToken)
 The token for the next set of results, or null if there are no
 additional results. | 
public java.util.List<JobSummary> getJobs()
A list of jobs.
A list of jobs.
public void setJobs(java.util.Collection<JobSummary> jobs)
A list of jobs.
jobs - A list of jobs.
public ListJobsResult withJobs(JobSummary... jobs)
A list of jobs.
Returns a reference to this object so that method calls can be chained together.
jobs - A list of jobs.
public ListJobsResult withJobs(java.util.Collection<JobSummary> jobs)
A list of jobs.
Returns a reference to this object so that method calls can be chained together.
jobs - A list of jobs.
public java.lang.String getNextToken()
The token for the next set of results, or null if there are no additional results.
The token for the next set of results, or null if there are no additional results.
public void setNextToken(java.lang.String nextToken)
The token for the next set of results, or null if there are no additional results.
nextToken - The token for the next set of results, or null if there are no additional results.
public ListJobsResult withNextToken(java.lang.String nextToken)
The token for the next set of results, or null if there are no additional results.
Returns a reference to this object so that method calls can be chained together.
nextToken - The token for the next set of results, or null if there are no additional results.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.