public class ListJobsByPipelineResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
The ListJobsByPipelineResponse
structure.
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<Job> |
jobs
An array of
Job objects that are in the specified pipeline. |
private java.lang.String |
nextPageToken
A value that you use to access the second and subsequent pages of
results, if any.
|
Constructor and Description |
---|
ListJobsByPipelineResult() |
Modifier and Type | Method and Description |
---|---|
ListJobsByPipelineResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.util.List<Job> |
getJobs()
An array of
Job objects that are in the specified pipeline. |
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 are in the specified pipeline. |
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.
|
ListJobsByPipelineResult |
withJobs(java.util.Collection<Job> jobs)
An array of
Job objects that are in the specified pipeline. |
ListJobsByPipelineResult |
withJobs(Job... jobs)
An array of
Job objects that are in the specified pipeline. |
ListJobsByPipelineResult |
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 are in the specified pipeline.
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 are in the specified pipeline.
Job
objects that are in the specified
pipeline.public void setJobs(java.util.Collection<Job> jobs)
An array of Job
objects that are in the specified pipeline.
jobs
- An array of Job
objects that are in the specified
pipeline.public ListJobsByPipelineResult withJobs(Job... jobs)
An array of Job
objects that are in the specified pipeline.
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 are in the specified
pipeline.public ListJobsByPipelineResult withJobs(java.util.Collection<Job> jobs)
An array of Job
objects that are in the specified pipeline.
jobs
- An array of Job
objects that are in the specified
pipeline.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 ListJobsByPipelineResult 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 ListJobsByPipelineResult clone()
clone
in class java.lang.Object