public class ListDatasetsResult extends Object implements Serializable
Returned for a successful ListDatasets request.
Constructor and Description |
---|
ListDatasetsResult() |
Modifier and Type | Method and Description |
---|---|
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.
|
public void setDatasets(Collection<Dataset> datasets)
datasets
- A set of datasets.public ListDatasetsResult withDatasets(Dataset... datasets)
Returns a reference to this object so that method calls can be chained together.
datasets
- A set of datasets.public ListDatasetsResult withDatasets(Collection<Dataset> datasets)
Returns a reference to this object so that method calls can be chained together.
datasets
- A set of datasets.public Integer getCount()
public void setCount(Integer count)
count
- Number of datasets returned.public ListDatasetsResult withCount(Integer count)
Returns a reference to this object so that method calls can be chained together.
count
- Number of datasets returned.public String getNextToken()
public void setNextToken(String nextToken)
nextToken
- A pagination token for obtaining the next page of results.public ListDatasetsResult withNextToken(String nextToken)
Returns a reference to this object so that method calls can be chained together.
nextToken
- A pagination token for obtaining the next page of results.public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.