public class ListJobsResult extends Object implements Serializable
Output structure for the ListJobs operation.
Constructor and Description |
---|
ListJobsResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Boolean |
getIsTruncated()
Indicates whether the list of jobs was truncated.
|
List<Job> |
getJobs()
A list container for Jobs returned by the ListJobs operation.
|
int |
hashCode() |
Boolean |
isTruncated()
Indicates whether the list of jobs was truncated.
|
void |
setIsTruncated(Boolean isTruncated)
Indicates whether the list of jobs was truncated.
|
void |
setJobs(Collection<Job> jobs)
A list container for Jobs returned by the ListJobs operation.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListJobsResult |
withIsTruncated(Boolean isTruncated)
Indicates whether the list of jobs was truncated.
|
ListJobsResult |
withJobs(Collection<Job> jobs)
A list container for Jobs returned by the ListJobs operation.
|
ListJobsResult |
withJobs(Job... jobs)
A list container for Jobs returned by the ListJobs operation.
|
public List<Job> getJobs()
public void setJobs(Collection<Job> jobs)
jobs
- A list container for Jobs returned by the ListJobs operation.public ListJobsResult withJobs(Job... jobs)
Returns a reference to this object so that method calls can be chained together.
jobs
- A list container for Jobs returned by the ListJobs operation.public ListJobsResult withJobs(Collection<Job> jobs)
Returns a reference to this object so that method calls can be chained together.
jobs
- A list container for Jobs returned by the ListJobs operation.public Boolean isTruncated()
public void setIsTruncated(Boolean isTruncated)
isTruncated
- Indicates whether the list of jobs was truncated. If true, then call
ListJobs again using the last JobId element as the marker.public ListJobsResult withIsTruncated(Boolean isTruncated)
Returns a reference to this object so that method calls can be chained together.
isTruncated
- Indicates whether the list of jobs was truncated. If true, then call
ListJobs again using the last JobId element as the marker.public Boolean getIsTruncated()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.