public TrainingDataResult withValidation(ValidationData validation) {
        setValidation(validation);
        return this;
    }
<p>
A manifest that you supplied for training, with validation results for each line.
</p>

@param validation
       A manifest that you supplied for training, with validation results for each line.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/TrainingDataResult.java