public ListTrainingDatasetsResult withTrainingDatasets(java.util.Collection<TrainingDatasetSummary> trainingDatasets) {
        setTrainingDatasets(trainingDatasets);
        return this;
    }
<p>
The training datasets that match the request.
</p>

@param trainingDatasets
       The training datasets that match the request.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cleanroomsml/src/main/java/com/amazonaws/services/cleanroomsml/model/ListTrainingDatasetsResult.java