public ListDatasetsResult withDatasets(java.util.Collection<Dataset> datasets) {
        setDatasets(datasets);
        return this;
    }
<p>
List of Datasets.
</p>

@param datasets
       List of Datasets.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-finspacedata/src/main/java/com/amazonaws/services/finspacedata/model/ListDatasetsResult.java