public SolutionConfig withTrainingDataConfig(TrainingDataConfig trainingDataConfig) {
        setTrainingDataConfig(trainingDataConfig);
        return this;
    }
<p>
Specifies the training data configuration to use when creating a custom solution version (trained model).
</p>

@param trainingDataConfig
       Specifies the training data configuration to use when creating a custom solution version (trained model).
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-personalize/src/main/java/com/amazonaws/services/personalize/model/SolutionConfig.java