@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) |
Integer |
getCount()
Number of datasets returned.
|
List<Dataset> |
getDatasets()
A set of datasets.
|
String |
getNextToken()
A pagination token for obtaining the next page of results.
|
int |
hashCode() |
void |
setCount(Integer count)
Number of datasets returned.
|
void |
setDatasets(Collection<Dataset> datasets)
A set of datasets.
|
void |
setNextToken(String nextToken)
A pagination token for obtaining the next page of results.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
ListDatasetsResult |
withCount(Integer count)
Number of datasets returned.
|
ListDatasetsResult |
withDatasets(Collection<Dataset> datasets)
A set of datasets.
|
ListDatasetsResult |
withDatasets(Dataset... datasets)
A set of datasets.
|
ListDatasetsResult |
withNextToken(String nextToken)
A pagination token for obtaining the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDatasets(Collection<Dataset> datasets)
datasets
- A set of datasets.public ListDatasetsResult withDatasets(Dataset... datasets)
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
- A set of datasets.public ListDatasetsResult withDatasets(Collection<Dataset> datasets)
datasets
- A set of datasets.public void setCount(Integer count)
count
- Number of datasets returned.public Integer getCount()
public ListDatasetsResult withCount(Integer count)
count
- Number of datasets returned.public void setNextToken(String nextToken)
nextToken
- A pagination token for obtaining the next page of results.public String getNextToken()
public ListDatasetsResult withNextToken(String nextToken)
nextToken
- A pagination token for obtaining the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListDatasetsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.