public class ListJobsByStatusResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The ListJobsByStatusResponse
structure.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Job> |
jobs
An array of
Job objects that have the specified status. |
private java.lang.String |
nextPageToken
A value that you use to access the second and subsequent pages of
results, if any.
|
Constructor and Description |
---|
ListJobsByStatusResult() |
Modifier and Type | Method and Description |
---|---|
ListJobsByStatusResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Job> |
getJobs()
An array of
Job objects that have the specified status. |
java.lang.String |
getNextPageToken()
A value that you use to access the second and subsequent pages of
results, if any.
|
int |
hashCode() |
void |
setJobs(java.util.Collection<Job> jobs)
An array of
Job objects that have the specified status. |
void |
setNextPageToken(java.lang.String nextPageToken)
A value that you use to access the second and subsequent pages of
results, if any.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListJobsByStatusResult |
withJobs(java.util.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(java.lang.String nextPageToken)
A value that you use to access the second and subsequent pages of
results, if any.
|
private SdkInternalList<Job> jobs
An array of Job
objects that have the specified status.
private java.lang.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
is null
.
public java.util.List<Job> getJobs()
An array of Job
objects that have the specified status.
Job
objects that have the specified
status.public void setJobs(java.util.Collection<Job> jobs)
An array of Job
objects that have the specified status.
jobs
- An array of Job
objects that have the specified
status.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)
or
withJobs(java.util.Collection)
if you want to override the
existing values.
jobs
- An array of Job
objects that have the specified
status.public ListJobsByStatusResult withJobs(java.util.Collection<Job> jobs)
An array of Job
objects that have the specified status.
jobs
- An array of Job
objects that have the specified
status.public void setNextPageToken(java.lang.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
is null
.
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 java.lang.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
is null
.
NextPageToken
is null
.public ListJobsByStatusResult withNextPageToken(java.lang.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
is null
.
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 java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public ListJobsByStatusResult clone()
clone
in class java.lang.Object