public ModelPackageValidationSpecification withValidationRole(String validationRole) {
        setValidationRole(validationRole);
        return this;
    }
<p>
The IAM roles to be used for the validation of the model package.
</p>

@param validationRole
       The IAM roles to be used for the validation of the model package.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-sagemaker/src/main/java/com/amazonaws/services/sagemaker/model/ModelPackageValidationSpecification.java