@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 in the current AWS account.
|
String |
getNextToken()
A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated.
|
int |
hashCode() |
void |
setDatasets(Collection<Dataset> datasets)
A list of datasets that are defined in the current AWS account.
|
void |
setNextToken(String nextToken)
A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated.
|
String |
toString()
Returns a string representation of this object.
|
ListDatasetsResult |
withDatasets(Collection<Dataset> datasets)
A list of datasets that are defined in the current AWS account.
|
ListDatasetsResult |
withDatasets(Dataset... datasets)
A list of datasets that are defined in the current AWS account.
|
ListDatasetsResult |
withNextToken(String nextToken)
A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<Dataset> getDatasets()
A list of datasets that are defined in the current AWS account.
public void setDatasets(Collection<Dataset> datasets)
A list of datasets that are defined in the current AWS account.
datasets
- A list of datasets that are defined in the current AWS account.public ListDatasetsResult withDatasets(Dataset... datasets)
A list of datasets that are defined in the current AWS account.
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 in the current AWS account.public ListDatasetsResult withDatasets(Collection<Dataset> datasets)
A list of datasets that are defined in the current AWS account.
datasets
- A list of datasets that are defined in the current AWS account.public void setNextToken(String nextToken)
A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.
nextToken
- A token generated by DataBrew that specifies where to continue pagination if a previous request was
truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous
page call.public String getNextToken()
A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.
public ListDatasetsResult withNextToken(String nextToken)
A token generated by DataBrew that specifies where to continue pagination if a previous request was truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous page call.
nextToken
- A token generated by DataBrew that specifies where to continue pagination if a previous request was
truncated. To obtain the next set of pages, pass in the NextToken from the response object of the previous
page call.public String toString()
toString
in class Object
Object.toString()
public ListDatasetsResult clone()