Class ListJobsByStatusResult
- java.lang.Object
-
- com.amazonaws.services.elastictranscoder.model.ListJobsByStatusResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListJobsByStatusResult extends Object implements Serializable, Cloneable
The
ListJobsByStatusResponse
structure.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListJobsByStatusResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListJobsByStatusResult
clone()
boolean
equals(Object obj)
List<Job>
getJobs()
An array ofJob
objects that have the specified status.String
getNextPageToken()
A value that you use to access the second and subsequent pages of results, if any.int
hashCode()
void
setJobs(Collection<Job> jobs)
An array ofJob
objects that have the specified status.void
setNextPageToken(String nextPageToken)
A value that you use to access the second and subsequent pages of results, if any.String
toString()
Returns a string representation of this object; useful for testing and debugging.ListJobsByStatusResult
withJobs(Job... jobs)
An array ofJob
objects that have the specified status.ListJobsByStatusResult
withJobs(Collection<Job> jobs)
An array ofJob
objects that have the specified status.ListJobsByStatusResult
withNextPageToken(String nextPageToken)
A value that you use to access the second and subsequent pages of results, if any.
-
-
-
Method Detail
-
getJobs
public List<Job> getJobs()
An array of
Job
objects that have the specified status.- Returns:
- An array of
Job
objects that have the specified status.
-
setJobs
public void setJobs(Collection<Job> jobs)
An array of
Job
objects that have the specified status.- Parameters:
jobs
- An array ofJob
objects that have the specified status.
-
withJobs
public ListJobsByStatusResult withJobs(Job... jobs)
An array of
Job
objects that have the specified status.NOTE: This method appends the values to the existing list (if any). Use
setJobs(java.util.Collection)
orwithJobs(java.util.Collection)
if you want to override the existing values.- Parameters:
jobs
- An array ofJob
objects that have the specified status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withJobs
public ListJobsByStatusResult withJobs(Collection<Job> jobs)
An array of
Job
objects that have the specified status.- Parameters:
jobs
- An array ofJob
objects that have the specified status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setNextPageToken
public void setNextPageToken(String nextPageToken)
A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of
NextPageToken
isnull
.- Parameters:
nextPageToken
- A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value ofNextPageToken
isnull
.
-
getNextPageToken
public String getNextPageToken()
A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of
NextPageToken
isnull
.- Returns:
- A value that you use to access the second and subsequent pages of
results, if any. When the jobs in the specified pipeline fit on
one page or when you've reached the last page of results, the
value of
NextPageToken
isnull
.
-
withNextPageToken
public ListJobsByStatusResult withNextPageToken(String nextPageToken)
A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value of
NextPageToken
isnull
.- Parameters:
nextPageToken
- A value that you use to access the second and subsequent pages of results, if any. When the jobs in the specified pipeline fit on one page or when you've reached the last page of results, the value ofNextPageToken
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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ListJobsByStatusResult clone()
-
-