@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeJobsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
DescribeJobsResult() |
Modifier and Type | Method and Description |
---|---|
DescribeJobsResult |
clone() |
boolean |
equals(Object obj) |
List<Job> |
getItems()
An array of Jobs.
|
String |
getNextToken()
The token of the next Job to retrieve.
|
int |
hashCode() |
void |
setItems(Collection<Job> items)
An array of Jobs.
|
void |
setNextToken(String nextToken)
The token of the next Job to retrieve.
|
String |
toString()
Returns a string representation of this object.
|
DescribeJobsResult |
withItems(Collection<Job> items)
An array of Jobs.
|
DescribeJobsResult |
withItems(Job... items)
An array of Jobs.
|
DescribeJobsResult |
withNextToken(String nextToken)
The token of the next Job to retrieve.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setItems(Collection<Job> items)
An array of Jobs.
items
- An array of Jobs.public DescribeJobsResult withItems(Job... items)
An array of Jobs.
NOTE: This method appends the values to the existing list (if any). Use
setItems(java.util.Collection)
or withItems(java.util.Collection)
if you want to override the
existing values.
items
- An array of Jobs.public DescribeJobsResult withItems(Collection<Job> items)
An array of Jobs.
items
- An array of Jobs.public void setNextToken(String nextToken)
The token of the next Job to retrieve.
nextToken
- The token of the next Job to retrieve.public String getNextToken()
The token of the next Job to retrieve.
public DescribeJobsResult withNextToken(String nextToken)
The token of the next Job to retrieve.
nextToken
- The token of the next Job to retrieve.public String toString()
toString
in class Object
Object.toString()
public DescribeJobsResult clone()