Class ListJobsResult
- java.lang.Object
-
- com.amazonaws.services.glacier.model.ListJobsResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class ListJobsResult extends Object implements Serializable, Cloneable
Contains the Amazon Glacier response to your request.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListJobsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListJobsResultclone()booleanequals(Object obj)List<GlacierJobDescription>getJobList()A list of job objects.StringgetMarker()An opaque string that represents where to continue pagination of the results.inthashCode()voidsetJobList(Collection<GlacierJobDescription> jobList)A list of job objects.voidsetMarker(String marker)An opaque string that represents where to continue pagination of the results.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListJobsResultwithJobList(GlacierJobDescription... jobList)A list of job objects.ListJobsResultwithJobList(Collection<GlacierJobDescription> jobList)A list of job objects.ListJobsResultwithMarker(String marker)An opaque string that represents where to continue pagination of the results.
-
-
-
Method Detail
-
getJobList
public List<GlacierJobDescription> getJobList()
A list of job objects. Each job object contains metadata describing the job.
- Returns:
- A list of job objects. Each job object contains metadata describing the job.
-
setJobList
public void setJobList(Collection<GlacierJobDescription> jobList)
A list of job objects. Each job object contains metadata describing the job.
- Parameters:
jobList- A list of job objects. Each job object contains metadata describing the job.
-
withJobList
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)orwithJobList(java.util.Collection)if you want to override the existing values.- Parameters:
jobList- A list of job objects. Each job object contains metadata describing the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withJobList
public ListJobsResult withJobList(Collection<GlacierJobDescription> jobList)
A list of job objects. Each job object contains metadata describing the job.
- Parameters:
jobList- A list of job objects. Each job object contains metadata describing the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setMarker
public void setMarker(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.- Parameters:
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 isnull.
-
getMarker
public 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.- Returns:
- 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.
-
withMarker
public ListJobsResult withMarker(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.- Parameters:
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 isnull.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListJobsResult clone()
-
-