public GetModelVersionResult withTrainingDataSource(TrainingDataSourceEnum trainingDataSource) {
        this.trainingDataSource = trainingDataSource.toString();
        return this;
    }
<p>
The training data source.
</p>

@param trainingDataSource
       The training data source.
@return Returns a reference to this object so that method calls can be chained together.
@see TrainingDataSourceEnum
aws-java-sdk-frauddetector/src/main/java/com/amazonaws/services/frauddetector/model/GetModelVersionResult.java