@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<JobEntry> |
getJobs()
The jobs listed by the request.
|
String |
getNextToken()
The token value retrieved from a previous call to access the next page of results.
|
int |
hashCode() |
void |
setJobs(Collection<JobEntry> jobs)
The jobs listed by the request.
|
void |
setNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListJobsResult |
withJobs(Collection<JobEntry> jobs)
The jobs listed by the request.
|
ListJobsResult |
withJobs(JobEntry... jobs)
The jobs listed by the request.
|
ListJobsResult |
withNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<JobEntry> getJobs()
The jobs listed by the request.
public void setJobs(Collection<JobEntry> jobs)
The jobs listed by the request.
jobs
- The jobs listed by the request.public ListJobsResult withJobs(JobEntry... jobs)
The jobs listed by the request.
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
- The jobs listed by the request.public ListJobsResult withJobs(Collection<JobEntry> jobs)
The jobs listed by the request.
jobs
- The jobs listed by the request.public void setNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
nextToken
- The token value retrieved from a previous call to access the next page of results.public String getNextToken()
The token value retrieved from a previous call to access the next page of results.
public ListJobsResult withNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
nextToken
- The token value retrieved from a previous call to access the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListJobsResult clone()