public void setDatasetGroups(java.util.Collection<DatasetGroupSummary> datasetGroups) {
        if (datasetGroups == null) {
            this.datasetGroups = null;
            return;
        }

        this.datasetGroups = new java.util.ArrayList<DatasetGroupSummary>(datasetGroups);
    }
<p>
The list of your dataset groups.
</p>

@param datasetGroups
       The list of your dataset groups.
aws-java-sdk-personalize/src/main/java/com/amazonaws/services/personalize/model/ListDatasetGroupsResult.java