@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListHarvestJobsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListHarvestJobsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListHarvestJobsResult |
clone() |
boolean |
equals(Object obj) |
List<HarvestJob> |
getHarvestJobs()
A list of HarvestJob records.
|
String |
getNextToken()
A token that can be used to resume pagination from the end of the collection.
|
int |
hashCode() |
void |
setHarvestJobs(Collection<HarvestJob> harvestJobs)
A list of HarvestJob records.
|
void |
setNextToken(String nextToken)
A token that can be used to resume pagination from the end of the collection.
|
String |
toString()
Returns a string representation of this object.
|
ListHarvestJobsResult |
withHarvestJobs(Collection<HarvestJob> harvestJobs)
A list of HarvestJob records.
|
ListHarvestJobsResult |
withHarvestJobs(HarvestJob... harvestJobs)
A list of HarvestJob records.
|
ListHarvestJobsResult |
withNextToken(String nextToken)
A token that can be used to resume pagination from the end of the collection.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<HarvestJob> getHarvestJobs()
public void setHarvestJobs(Collection<HarvestJob> harvestJobs)
harvestJobs - A list of HarvestJob records.public ListHarvestJobsResult withHarvestJobs(HarvestJob... harvestJobs)
NOTE: This method appends the values to the existing list (if any). Use
setHarvestJobs(java.util.Collection) or withHarvestJobs(java.util.Collection) if you want to
override the existing values.
harvestJobs - A list of HarvestJob records.public ListHarvestJobsResult withHarvestJobs(Collection<HarvestJob> harvestJobs)
harvestJobs - A list of HarvestJob records.public void setNextToken(String nextToken)
nextToken - A token that can be used to resume pagination from the end of the collection.public String getNextToken()
public ListHarvestJobsResult withNextToken(String nextToken)
nextToken - A token that can be used to resume pagination from the end of the collection.public String toString()
toString in class ObjectObject.toString()public ListHarvestJobsResult clone()