public LoginAuditEventBuilder withReasonOfFailure(String reasonOfFailure) {
      this.reasonOfFailure = reasonOfFailure;
      return this;
    }
Sets the list of roles possessed by the principal requesting access to a resource.

@param roles
@return this builder
ambari-server/src/main/java/org/apache/ambari/server/audit/event/LoginAuditEvent.java