public void setTrainingData(java.util.Collection<Dataset> trainingData) {
        if (trainingData == null) {
            this.trainingData = null;
            return;
        }

        this.trainingData = new java.util.ArrayList<Dataset>(trainingData);
    }
<p>
An array of information that lists the Dataset objects, which specifies the dataset type and details on its
location and schema. You must provide a role that has read access to these tables.
</p>

@param trainingData
       An array of information that lists the Dataset objects, which specifies the dataset type and details on
       its location and schema. You must provide a role that has read access to these tables.
aws-java-sdk-cleanroomsml/src/main/java/com/amazonaws/services/cleanroomsml/model/CreateTrainingDatasetRequest.java