public ListDatasetGroupsResult withDatasetGroups(java.util.Collection<DatasetGroupSummary> datasetGroups) {
        setDatasetGroups(datasetGroups);
        return this;
    }
<p>
The list of your dataset groups.
</p>

@param datasetGroups
       The list of your dataset groups.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-personalize/src/main/java/com/amazonaws/services/personalize/model/ListDatasetGroupsResult.java