@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> |
getDatasets()
An array of
Dataset objects. |
String |
getNextToken()
A token for getting the next set of datasets (if they exist).
|
int |
hashCode() |
void |
setDatasets(Collection<DatasetSummary> datasets)
An array of
Dataset objects. |
void |
setNextToken(String nextToken)
A token for getting the next set of datasets (if they exist).
|
String |
toString()
Returns a string representation of this object.
|
ListDatasetsResult |
withDatasets(Collection<DatasetSummary> datasets)
An array of
Dataset objects. |
ListDatasetsResult |
withDatasets(DatasetSummary... datasets)
An array of
Dataset objects. |
ListDatasetsResult |
withNextToken(String nextToken)
A token for getting the next set of datasets (if they exist).
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DatasetSummary> getDatasets()
An array of Dataset
objects. Each object provides metadata information.
Dataset
objects. Each object provides metadata information.public void setDatasets(Collection<DatasetSummary> datasets)
An array of Dataset
objects. Each object provides metadata information.
datasets
- An array of Dataset
objects. Each object provides metadata information.public ListDatasetsResult withDatasets(DatasetSummary... datasets)
An array of Dataset
objects. Each object provides metadata information.
NOTE: This method appends the values to the existing list (if any). Use
setDatasets(java.util.Collection)
or withDatasets(java.util.Collection)
if you want to override
the existing values.
datasets
- An array of Dataset
objects. Each object provides metadata information.public ListDatasetsResult withDatasets(Collection<DatasetSummary> datasets)
An array of Dataset
objects. Each object provides metadata information.
datasets
- An array of Dataset
objects. Each object provides metadata information.public void setNextToken(String nextToken)
A token for getting the next set of datasets (if they exist).
nextToken
- A token for getting the next set of datasets (if they exist).public String getNextToken()
A token for getting the next set of datasets (if they exist).
public ListDatasetsResult withNextToken(String nextToken)
A token for getting the next set of datasets (if they exist).
nextToken
- A token for getting the next set of datasets (if they exist).public String toString()
toString
in class Object
Object.toString()
public ListDatasetsResult clone()