@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListJobsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Represents the result of a list jobs request.
Constructor and Description |
---|
ListJobsResult() |
Modifier and Type | Method and Description |
---|---|
ListJobsResult |
clone() |
boolean |
equals(Object obj) |
List<Job> |
getJobs()
Information about the jobs.
|
String |
getNextToken()
If the number of items that are returned is significantly large, this is an identifier that is also returned.
|
int |
hashCode() |
void |
setJobs(Collection<Job> jobs)
Information about the jobs.
|
void |
setNextToken(String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned.
|
String |
toString()
Returns a string representation of this object.
|
ListJobsResult |
withJobs(Collection<Job> jobs)
Information about the jobs.
|
ListJobsResult |
withJobs(Job... jobs)
Information about the jobs.
|
ListJobsResult |
withNextToken(String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setJobs(Collection<Job> jobs)
Information about the jobs.
jobs
- Information about the jobs.public ListJobsResult withJobs(Job... jobs)
Information about the jobs.
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
- Information about the jobs.public ListJobsResult withJobs(Collection<Job> jobs)
Information about the jobs.
jobs
- Information about the jobs.public void setNextToken(String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.
nextToken
- If the number of items that are returned is significantly large, this is an identifier that is also
returned. It can be used in a subsequent call to this operation to return the next set of items in the
list.public String getNextToken()
If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.
public ListJobsResult withNextToken(String nextToken)
If the number of items that are returned is significantly large, this is an identifier that is also returned. It can be used in a subsequent call to this operation to return the next set of items in the list.
nextToken
- If the number of items that are returned is significantly large, this is an identifier that is also
returned. It can be used in a subsequent call to this operation to return the next set of items in the
list.public String toString()
toString
in class Object
Object.toString()
public ListJobsResult clone()
Privacy | Site terms | Cookie preferences | © 2025, Amazon Web Services, Inc. or its affiliates. All rights reserved.