public class ListJobsResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Contains the Amazon Glacier response to your request.
Modifier and Type | Field and Description |
---|---|
private java.util.List<GlacierJobDescription> |
jobList
A list of job objects.
|
private java.lang.String |
marker
An opaque string that represents where to continue pagination of the
results.
|
Constructor and Description |
---|
ListJobsResult() |
Modifier and Type | Method and Description |
---|---|
ListJobsResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<GlacierJobDescription> |
getJobList()
A list of job objects.
|
java.lang.String |
getMarker()
An opaque string that represents where to continue pagination of the
results.
|
int |
hashCode() |
void |
setJobList(java.util.Collection<GlacierJobDescription> jobList)
A list of job objects.
|
void |
setMarker(java.lang.String marker)
An opaque string that represents where to continue pagination of the
results.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListJobsResult |
withJobList(java.util.Collection<GlacierJobDescription> jobList)
A list of job objects.
|
ListJobsResult |
withJobList(GlacierJobDescription... jobList)
A list of job objects.
|
ListJobsResult |
withMarker(java.lang.String marker)
An opaque string that represents where to continue pagination of the
results.
|
private java.util.List<GlacierJobDescription> jobList
A list of job objects. Each job object contains metadata describing the job.
private java.lang.String 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 java.util.List<GlacierJobDescription> getJobList()
A list of job objects. Each job object contains metadata describing the job.
public void setJobList(java.util.Collection<GlacierJobDescription> jobList)
A list of job objects. Each job object contains metadata describing the job.
jobList
- A list of job objects. Each job object contains metadata
describing the job.public ListJobsResult withJobList(GlacierJobDescription... jobList)
A list of job objects. Each job object contains metadata describing the job.
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.
jobList
- A list of job objects. Each job object contains metadata
describing the job.public ListJobsResult withJobList(java.util.Collection<GlacierJobDescription> jobList)
A list of job objects. Each job object contains metadata describing the job.
jobList
- A list of job objects. Each job object contains metadata
describing the job.public void setMarker(java.lang.String 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
.
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 java.lang.String getMarker()
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
.
null
.public ListJobsResult withMarker(java.lang.String 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
.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListJobsResult clone()
clone
in class java.lang.Object