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
ListJobsByStatusResponsestructure.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListJobsByStatusResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListJobsByStatusResultclone()booleanequals(Object obj)List<Job>getJobs()An array ofJobobjects that have the specified status.StringgetNextPageToken()A value that you use to access the second and subsequent pages of results, if any.inthashCode()voidsetJobs(Collection<Job> jobs)An array ofJobobjects that have the specified status.voidsetNextPageToken(String nextPageToken)A value that you use to access the second and subsequent pages of results, if any.StringtoString()Returns a string representation of this object; useful for testing and debugging.ListJobsByStatusResultwithJobs(Job... jobs)An array ofJobobjects that have the specified status.ListJobsByStatusResultwithJobs(Collection<Job> jobs)An array ofJobobjects that have the specified status.ListJobsByStatusResultwithNextPageToken(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
Jobobjects that have the specified status.- Returns:
- An array of
Jobobjects that have the specified status.
-
setJobs
public void setJobs(Collection<Job> jobs)
An array of
Jobobjects that have the specified status.- Parameters:
jobs- An array ofJobobjects that have the specified status.
-
withJobs
public ListJobsByStatusResult withJobs(Job... jobs)
An array of
Jobobjects 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 ofJobobjects 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
Jobobjects that have the specified status.- Parameters:
jobs- An array ofJobobjects 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
NextPageTokenisnull.- 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 ofNextPageTokenisnull.
-
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
NextPageTokenisnull.- 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
NextPageTokenisnull.
-
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
NextPageTokenisnull.- 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 ofNextPageTokenisnull.- 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 ListJobsByStatusResult clone()
-
-