@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetJobsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetJobsResult() |
Modifier and Type | Method and Description |
---|---|
GetJobsResult |
clone() |
boolean |
equals(Object obj) |
List<Job> |
getJobs()
A list of job definitions.
|
String |
getNextToken()
A continuation token, if not all job definitions have yet been returned.
|
int |
hashCode() |
void |
setJobs(Collection<Job> jobs)
A list of job definitions.
|
void |
setNextToken(String nextToken)
A continuation token, if not all job definitions have yet been returned.
|
String |
toString()
Returns a string representation of this object.
|
GetJobsResult |
withJobs(Collection<Job> jobs)
A list of job definitions.
|
GetJobsResult |
withJobs(Job... jobs)
A list of job definitions.
|
GetJobsResult |
withNextToken(String nextToken)
A continuation token, if not all job definitions have yet been returned.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setJobs(Collection<Job> jobs)
A list of job definitions.
jobs
- A list of job definitions.public GetJobsResult withJobs(Job... jobs)
A list of job definitions.
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 job definitions.public GetJobsResult withJobs(Collection<Job> jobs)
A list of job definitions.
jobs
- A list of job definitions.public void setNextToken(String nextToken)
A continuation token, if not all job definitions have yet been returned.
nextToken
- A continuation token, if not all job definitions have yet been returned.public String getNextToken()
A continuation token, if not all job definitions have yet been returned.
public GetJobsResult withNextToken(String nextToken)
A continuation token, if not all job definitions have yet been returned.
nextToken
- A continuation token, if not all job definitions have yet been returned.public String toString()
toString
in class Object
Object.toString()
public GetJobsResult clone()