public class ListJobsResult extends Object implements Serializable, Cloneable
Output structure for the ListJobs operation.
Constructor and Description |
---|
ListJobsResult() |
Modifier and Type | Method and Description |
---|---|
ListJobsResult |
clone() |
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)
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.
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()
public ListJobsResult clone()
Copyright © 2015. All rights reserved.