public void setValidationResult(ValidationResult validationResult) {
      this.validationResult = validationResult;
    }
sets validation result
@param validationResult {@link ValidationResult}
ambari-server/src/main/java/org/apache/ambari/server/controller/ViewInstanceResponse.java