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

    if (!(o instanceof SnapshotMetadata)) {
      return false;
    }

    SnapshotMetadata that = (SnapshotMetadata) o;

    return new EqualsBuilder()
        .append(getCheckpointId(), that.getCheckpointId())
        .append(getJobName(), that.getJobName())
        .append(getJobId(), that.getJobId())
        .append(getTaskName(), that.getTaskName())
        .append(getStoreName(), that.getStoreName())
        .isEquals();
  }
Represents metadata associated with a remote snapshot.
samza-core/src/main/java/org/apache/samza/storage/blobstore/index/SnapshotMetadata.java