@Override
  public boolean equals(Object o) {
    if (this == o) return true;
    if (o == null || getClass() != o.getClass()) return false;

    LdapGroupDto that = (LdapGroupDto) o;

    if (groupName != null ? !groupName.equals(that.getGroupName()) : that.getGroupName() != null) return false;

    return true;
  }
Set the synced flag

@param synced the synced flag
ambari-server/src/main/java/org/apache/ambari/server/security/ldap/LdapGroupDto.java