@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<DataSetEntry> |
getDataSets()
The data set objects listed by the request.
|
String |
getNextToken()
The token value retrieved from a previous call to access the next page of results.
|
int |
hashCode() |
void |
setDataSets(Collection<DataSetEntry> dataSets)
The data set objects listed by the request.
|
void |
setNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
|
String |
toString()
Returns a string representation of this object.
|
ListDataSetsResult |
withDataSets(Collection<DataSetEntry> dataSets)
The data set objects listed by the request.
|
ListDataSetsResult |
withDataSets(DataSetEntry... dataSets)
The data set objects listed by the request.
|
ListDataSetsResult |
withNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<DataSetEntry> getDataSets()
The data set objects listed by the request.
public void setDataSets(Collection<DataSetEntry> dataSets)
The data set objects listed by the request.
dataSets
- The data set objects listed by the request.public ListDataSetsResult withDataSets(DataSetEntry... dataSets)
The data set objects listed by the request.
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
- The data set objects listed by the request.public ListDataSetsResult withDataSets(Collection<DataSetEntry> dataSets)
The data set objects listed by the request.
dataSets
- The data set objects listed by the request.public void setNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
nextToken
- The token value retrieved from a previous call to access the next page of results.public String getNextToken()
The token value retrieved from a previous call to access the next page of results.
public ListDataSetsResult withNextToken(String nextToken)
The token value retrieved from a previous call to access the next page of results.
nextToken
- The token value retrieved from a previous call to access the next page of results.public String toString()
toString
in class Object
Object.toString()
public ListDataSetsResult clone()