public class ListJobsByStatusResult extends Object implements Serializable, Cloneable
The ListJobsByStatusResponse structure.
| Constructor and Description |
|---|
ListJobsByStatusResult() |
| Modifier and Type | Method and Description |
|---|---|
ListJobsByStatusResult |
clone() |
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()
An array of Job objects that have the specified status.
Job objects that have the specified
status.public void setJobs(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(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(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 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(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 String toString()
toString in class ObjectObject.toString()public ListJobsByStatusResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.