public SolutionVersionSummary withTrainingType(String trainingType) {
        setTrainingType(trainingType);
        return this;
    }
<p>
Whether the solution version was created automatically or manually.
</p>

@param trainingType
       Whether the solution version was created automatically or manually.
@return Returns a reference to this object so that method calls can be chained together.
@see TrainingType
aws-java-sdk-personalize/src/main/java/com/amazonaws/services/personalize/model/SolutionVersionSummary.java