public class ListJobsByStatusResult extends Object implements Serializable
The ListJobsByStatusResponse
structure.
Constructor and Description |
---|
ListJobsByStatusResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<Job> |
getJobs()
An array of
Job 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 of
Job 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(Collection<Job> jobs)
An array of
Job objects that have the specified status. |
ListJobsByStatusResult |
withJobs(Job... jobs)
An array of
Job 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.
|
public List<Job> getJobs()
Job
objects that have the specified status.Job
objects that have the specified status.public void setJobs(Collection<Job> jobs)
Job
objects that have the specified status.jobs
- An array of Job
objects that have the specified status.public ListJobsByStatusResult withJobs(Job... jobs)
Job
objects that have the specified status.
Returns a reference to this object so that method calls can be chained together.
jobs
- An array of Job
objects that have the specified status.public ListJobsByStatusResult withJobs(Collection<Job> jobs)
Job
objects that have the specified status.
Returns a reference to this object so that method calls can be chained together.
jobs
- An array of Job
objects that have the specified status.public String getNextPageToken()
NextPageToken
is null
.
Constraints:
Pattern: ^\d{13}-\w{6}$
NextPageToken
is null
.public void setNextPageToken(String nextPageToken)
NextPageToken
is null
.
Constraints:
Pattern: ^\d{13}-\w{6}$
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
is null
.public ListJobsByStatusResult withNextPageToken(String nextPageToken)
NextPageToken
is null
.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^\d{13}-\w{6}$
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
is null
.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.