public boolean equals(Object obj) {
    if (obj instanceof PartitionAttributesInfo) {
      PartitionAttributesInfo paInfo = (PartitionAttributesInfo) obj;
      return StringUtils.equals(getColocatedWith(), paInfo.getColocatedWith())
          && getLocalMaxMemory() == paInfo.getLocalMaxMemory()
          && StringUtils.equals(getPartitionResolverName(), paInfo.getPartitionResolverName())
          && getRecoveryDelay() == paInfo.getRecoveryDelay()
          && getRedundantCopies() == paInfo.getRedundantCopies()
          && getStartupRecoveryDelay() == paInfo.getStartupRecoveryDelay()
          && getTotalNumBuckets() == paInfo.getTotalNumBuckets()
          && getFixedPartitionAttributesInfo().equals(paInfo.getFixedPartitionAttributesInfo());
    } else {
      return false;
    }
  }
Data class containing the PartitionAttributes for a region on a certain member
geode-gfsh/src/main/java/org/apache/geode/management/internal/cli/domain/PartitionAttributesInfo.java