public void setTrainingDatasets(java.util.Collection<TrainingDatasetSummary> trainingDatasets) {
        if (trainingDatasets == null) {
            this.trainingDatasets = null;
            return;
        }

        this.trainingDatasets = new java.util.ArrayList<TrainingDatasetSummary>(trainingDatasets);
    }
<p>
The training datasets that match the request.
</p>

@param trainingDatasets
       The training datasets that match the request.
aws-java-sdk-cleanroomsml/src/main/java/com/amazonaws/services/cleanroomsml/model/ListTrainingDatasetsResult.java