@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()
A list of datasets that are defined.
|
String |
getNextToken()
A token that you can use in a subsequent call to retrieve the next set of results.
|
int |
hashCode() |
void |
setDatasets(Collection<Dataset> datasets)
A list of datasets that are defined.
|
void |
setNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
|
String |
toString()
Returns a string representation of this object.
|
ListDatasetsResult |
withDatasets(Collection<Dataset> datasets)
A list of datasets that are defined.
|
ListDatasetsResult |
withDatasets(Dataset... datasets)
A list of datasets that are defined.
|
ListDatasetsResult |
withNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Dataset> getDatasets()
A list of datasets that are defined.
public void setDatasets(Collection<Dataset> datasets)
A list of datasets that are defined.
datasets
- A list of datasets that are defined.public ListDatasetsResult withDatasets(Dataset... datasets)
A list of datasets that are defined.
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 list of datasets that are defined.public ListDatasetsResult withDatasets(Collection<Dataset> datasets)
A list of datasets that are defined.
datasets
- A list of datasets that are defined.public void setNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
nextToken
- A token that you can use in a subsequent call to retrieve the next set of results.public String getNextToken()
A token that you can use in a subsequent call to retrieve the next set of results.
public ListDatasetsResult withNextToken(String nextToken)
A token that you can use in a subsequent call to retrieve the next set of results.
nextToken
- A token that you can use in a subsequent call to retrieve the next set of results.public String toString()
toString
in class Object
Object.toString()
public ListDatasetsResult clone()