@Override
    public boolean equals(Object o) {
      if (this == o) {
        return true;
      }

      if (o == null || getClass() != o.getClass()) {
        return false;
      }

      RegionDetails that = (RegionDetails) o;

      return new EqualsBuilder().append(serverName, that.serverName)
        .append(tableName, that.tableName).append(regionMetrics, that.regionMetrics).isEquals();
    }
POJO carrying detailed information about a region for use in visualizations. Intended to be
serialized to JSON and consumed from JavaScript.
hbase-server/src/main/java/org/apache/hadoop/hbase/master/http/RegionVisualizer.java