@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<Dataset> |
getDatasets()
List of Datasets.
|
String |
getNextToken()
A token that indicates where a results page should begin.
|
int |
hashCode() |
void |
setDatasets(Collection<Dataset> datasets)
List of Datasets.
|
void |
setNextToken(String nextToken)
A token that indicates where a results page should begin.
|
String |
toString()
Returns a string representation of this object.
|
ListDatasetsResult |
withDatasets(Collection<Dataset> datasets)
List of Datasets.
|
ListDatasetsResult |
withDatasets(Dataset... datasets)
List of Datasets.
|
ListDatasetsResult |
withNextToken(String nextToken)
A token that indicates where a results page should begin.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDatasets(Collection<Dataset> datasets)
List of Datasets.
datasets
- List of Datasets.public ListDatasetsResult withDatasets(Dataset... datasets)
List of 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
- List of Datasets.public ListDatasetsResult withDatasets(Collection<Dataset> datasets)
List of Datasets.
datasets
- List of Datasets.public void setNextToken(String nextToken)
A token that indicates where a results page should begin.
nextToken
- A token that indicates where a results page should begin.public String getNextToken()
A token that indicates where a results page should begin.
public ListDatasetsResult withNextToken(String nextToken)
A token that indicates where a results page should begin.
nextToken
- A token that indicates where a results page should begin.public String toString()
toString
in class Object
Object.toString()
public ListDatasetsResult clone()