public class ListJobsResult extends Object implements Serializable, Cloneable
Contains the Amazon Glacier response to your request.
| Constructor and Description |
|---|
ListJobsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListJobsResult |
clone() |
boolean |
equals(Object obj) |
List<GlacierJobDescription> |
getJobList()
A list of job objects.
|
String |
getMarker()
An opaque string that represents where to continue pagination of the
results.
|
int |
hashCode() |
void |
setJobList(Collection<GlacierJobDescription> jobList)
A list of job objects.
|
void |
setMarker(String marker)
An opaque string that represents where to continue pagination of the
results.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListJobsResult |
withJobList(Collection<GlacierJobDescription> jobList)
A list of job objects.
|
ListJobsResult |
withJobList(GlacierJobDescription... jobList)
A list of job objects.
|
ListJobsResult |
withMarker(String marker)
An opaque string that represents where to continue pagination of the
results.
|
public List<GlacierJobDescription> getJobList()
public void setJobList(Collection<GlacierJobDescription> jobList)
jobList - A list of job objects. Each job object contains metadata describing
the job.public ListJobsResult withJobList(GlacierJobDescription... jobList)
NOTE: This method appends the values to the existing list (if
any). Use setJobList(java.util.Collection) or withJobList(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.
jobList - A list of job objects. Each job object contains metadata describing
the job.public ListJobsResult withJobList(Collection<GlacierJobDescription> jobList)
Returns a reference to this object so that method calls can be chained together.
jobList - A list of job objects. Each job object contains metadata describing
the job.public String getMarker()
null.null.public void setMarker(String marker)
null.marker - An opaque string that represents where to continue pagination of the
results. You use this value in a new List Jobs request to obtain more
jobs in the list. If there are no more jobs, this value is
null.public ListJobsResult withMarker(String marker)
null.
Returns a reference to this object so that method calls can be chained together.
marker - An opaque string that represents where to continue pagination of the
results. You use this value in a new List Jobs request to obtain more
jobs in the list. If there are no more jobs, this value is
null.public String toString()
toString in class ObjectObject.toString()public ListJobsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.