@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<JobSummary> |
getJobs()
A list of jobs.
|
String |
getNextToken()
The token for the next set of results, or null if there are no additional results.
|
int |
hashCode() |
void |
setJobs(Collection<JobSummary> jobs)
A list of jobs.
|
void |
setNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
String |
toString()
Returns a string representation of this object.
|
ListJobsResult |
withJobs(Collection<JobSummary> jobs)
A list of jobs.
|
ListJobsResult |
withJobs(JobSummary... jobs)
A list of jobs.
|
ListJobsResult |
withNextToken(String nextToken)
The token for the next set of results, or null if there are no additional results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<JobSummary> getJobs()
A list of jobs.
public void setJobs(Collection<JobSummary> jobs)
A list of jobs.
jobs - A list of jobs.public ListJobsResult withJobs(JobSummary... jobs)
A list of 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 - A list of jobs.public ListJobsResult withJobs(Collection<JobSummary> jobs)
A list of jobs.
jobs - A list of jobs.public void setNextToken(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 String getNextToken()
The token for the next set of results, or null if there are no additional results.
public ListJobsResult withNextToken(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 String toString()
toString in class ObjectObject.toString()public ListJobsResult clone()