@Override
  public boolean equals(Object obj) {
    if (this == obj) return true;
    if (obj == null) return false;

    if (obj instanceof VolumeRecoveryPointInfo == false) return false;
    VolumeRecoveryPointInfo other = (VolumeRecoveryPointInfo) obj;
    if (other.getVolumeARN() == null ^ this.getVolumeARN() == null) return false;
    if (other.getVolumeARN() != null && other.getVolumeARN().equals(this.getVolumeARN()) == false)
      return false;
    if (other.getVolumeSizeInBytes() == null ^ this.getVolumeSizeInBytes() == null) return false;
    if (other.getVolumeSizeInBytes() != null
        && other.getVolumeSizeInBytes().equals(this.getVolumeSizeInBytes()) == false) return false;
    if (other.getVolumeUsageInBytes() == null ^ this.getVolumeUsageInBytes() == null) return false;
    if (other.getVolumeUsageInBytes() != null
        && other.getVolumeUsageInBytes().equals(this.getVolumeUsageInBytes()) == false)
      return false;
    if (other.getVolumeRecoveryPointTime() == null ^ this.getVolumeRecoveryPointTime() == null)
      return false;
    if (other.getVolumeRecoveryPointTime() != null
        && other.getVolumeRecoveryPointTime().equals(this.getVolumeRecoveryPointTime()) == false)
      return false;
    return true;
  }