public void setGroups(Set<LdapGroupDto> groups) {
    this.groups = groups;
  }
Set the LDAP groups.

@param groups the LDAP groups
ambari-server/src/main/java/org/apache/ambari/server/security/ldap/LdapSyncDto.java