@Override
    public boolean equals(Object obj) {
      if (obj == this) {
        return true;
      }
      if (obj == null) {
        return false;
      }
      if (!getClass().equals(obj.getClass())) {
        return false;
      }
      return getId().equals(((Profile) obj).getId());
    }
Return object that uniquely identifies this profile.

@since GemFire 5.7
geode-core/src/main/java/org/apache/geode/distributed/internal/DistributionAdvisor.java