Class ListJobsByStatusResult
- All Implemented Interfaces:
Serializable
,Cloneable
The ListJobsByStatusResponse
structure.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
getJobs()
An array ofJob
objects that have the specified status.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.toString()
Returns a string representation of this object; useful for testing and debugging.An array ofJob
objects that have the specified status.withJobs
(Collection<Job> jobs) An array ofJob
objects that have the specified status.withNextPageToken
(String nextPageToken) A value that you use to access the second and subsequent pages of results, if any.
-
Constructor Details
-
ListJobsByStatusResult
public ListJobsByStatusResult()
-
-
Method Details
-
getJobs
An array of
Job
objects that have the specified status.- Returns:
- An array of
Job
objects that have the specified status.
-
setJobs
An array of
Job
objects that have the specified status.- Parameters:
jobs
- An array ofJob
objects that have the specified status.
-
withJobs
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
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
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
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
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
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-