@Override
  public String getDetail() {
    return detail;
  }
Construct a validation result.

@param valid   indicates whether or not the result is valid
@param detail  detail message for the result
ambari-server/src/main/java/org/apache/ambari/server/view/validation/ValidationResultImpl.java