@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListJobsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListJobsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListJobsResult |
clone() |
boolean |
equals(Object obj) |
List<Job> |
getJobs()
A list of jobs that are defined.
|
String |
getNextToken()
A token that you can use in a subsequent call to retrieve the next set of results.
|
int |
hashCode() |
void |
setJobs(Collection<Job> jobs)
A list of jobs that are defined.
|
void |
setNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListJobsResult |
withJobs(Collection<Job> jobs)
A list of jobs that are defined.
|
ListJobsResult |
withJobs(Job... jobs)
A list of jobs that are defined.
|
ListJobsResult |
withNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<Job> getJobs()
A list of jobs that are defined.
public void setJobs(Collection<Job> jobs)
A list of jobs that are defined.
jobs - A list of jobs that are defined.public ListJobsResult withJobs(Job... jobs)
A list of jobs that are defined.
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 - A list of jobs that are defined.public ListJobsResult withJobs(Collection<Job> jobs)
A list of jobs that are defined.
jobs - A list of jobs that are defined.public void setNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
nextToken - A token that you can use in a subsequent call to retrieve the next set of results.public String getNextToken()
A token that you can use in a subsequent call to retrieve the next set of results.
public ListJobsResult withNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
nextToken - A token that you can use in a subsequent call to retrieve the next set of results.public String toString()
toString in class ObjectObject.toString()public ListJobsResult clone()