@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListDatasetsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
ListDatasetsResult() |
| Modifier and Type | Method and Description |
|---|---|
ListDatasetsResult |
clone() |
boolean |
equals(Object obj) |
List<DatasetSummary> |
getDatasetSummaries()
A list of
DatasetSummary objects. |
String |
getNextToken()
The token to retrieve the next set of results, or
null if there are no more results. |
int |
hashCode() |
void |
setDatasetSummaries(Collection<DatasetSummary> datasetSummaries)
A list of
DatasetSummary objects. |
void |
setNextToken(String nextToken)
The token to retrieve the next set of results, or
null if there are no more results. |
String |
toString()
Returns a string representation of this object.
|
ListDatasetsResult |
withDatasetSummaries(Collection<DatasetSummary> datasetSummaries)
A list of
DatasetSummary objects. |
ListDatasetsResult |
withDatasetSummaries(DatasetSummary... datasetSummaries)
A list of
DatasetSummary objects. |
ListDatasetsResult |
withNextToken(String nextToken)
The token to retrieve the next set of results, or
null if there are no more results. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic List<DatasetSummary> getDatasetSummaries()
A list of DatasetSummary objects.
DatasetSummary objects.public void setDatasetSummaries(Collection<DatasetSummary> datasetSummaries)
A list of DatasetSummary objects.
datasetSummaries - A list of DatasetSummary objects.public ListDatasetsResult withDatasetSummaries(DatasetSummary... datasetSummaries)
A list of DatasetSummary objects.
NOTE: This method appends the values to the existing list (if any). Use
setDatasetSummaries(java.util.Collection) or withDatasetSummaries(java.util.Collection) if you
want to override the existing values.
datasetSummaries - A list of DatasetSummary objects.public ListDatasetsResult withDatasetSummaries(Collection<DatasetSummary> datasetSummaries)
A list of DatasetSummary objects.
datasetSummaries - A list of DatasetSummary objects.public void setNextToken(String nextToken)
The token to retrieve the next set of results, or null if there are no more results.
nextToken - The token to retrieve the next set of results, or null if there are no more results.public String getNextToken()
The token to retrieve the next set of results, or null if there are no more results.
null if there are no more results.public ListDatasetsResult withNextToken(String nextToken)
The token to retrieve the next set of results, or null if there are no more results.
nextToken - The token to retrieve the next set of results, or null if there are no more results.public String toString()
toString in class ObjectObject.toString()public ListDatasetsResult clone()