public class ListJobsResult extends Object implements Serializable
| Constructor and Description |
|---|
ListJobsResult() |
| Modifier and Type | Method and Description |
|---|---|
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; useful for testing and
debugging.
|
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.
|
public List<JobSummary> getJobs()
A list of jobs.
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.
Returns a reference to this object so that method calls can be chained together.
jobs - A list of jobs.
public ListJobsResult withJobs(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 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(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(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 String toString()
toString in class ObjectObject.toString()Copyright © 2018. All rights reserved.