if (getRestoreStatus() != null) sb.append("RestoreStatus: ").append(getRestoreStatus()).append(","); if (getDataTransferProgress() != null) sb.append("DataTransferProgress: ").append(getDataTransferProgress()).append(","); if (getHsmStatus() != null) sb.append("HsmStatus: ").append(getHsmStatus()).append(",");
hashCode = prime * hashCode + ((getEncrypted() == null) ? 0 : getEncrypted().hashCode()); hashCode = prime * hashCode + ((getRestoreStatus() == null) ? 0 : getRestoreStatus().hashCode()); hashCode = prime * hashCode + ((getDataTransferProgress() == null) ? 0 : getDataTransferProgress().hashCode()); hashCode = prime * hashCode + ((getHsmStatus() == null) ? 0 : getHsmStatus().hashCode()); hashCode = prime * hashCode + ((getClusterSnapshotCopyStatus() == null) ? 0 : getClusterSnapshotCopyStatus().hashCode());
if (other.getRestoreStatus() != null && other.getRestoreStatus().equals(this.getRestoreStatus()) == false) return false; if (other.getDataTransferProgress() == null ^ this.getDataTransferProgress() == null) return false; if (other.getDataTransferProgress() != null && other.getDataTransferProgress().equals(this.getDataTransferProgress()) == false) return false; if (other.getHsmStatus() == null ^ this.getHsmStatus() == null)
if (getRestoreStatus() != null) sb.append("RestoreStatus: ").append(getRestoreStatus()).append(","); if (getDataTransferProgress() != null) sb.append("DataTransferProgress: ").append(getDataTransferProgress()).append(","); if (getHsmStatus() != null) sb.append("HsmStatus: ").append(getHsmStatus()).append(",");
hashCode = prime * hashCode + ((getEncrypted() == null) ? 0 : getEncrypted().hashCode()); hashCode = prime * hashCode + ((getRestoreStatus() == null) ? 0 : getRestoreStatus().hashCode()); hashCode = prime * hashCode + ((getDataTransferProgress() == null) ? 0 : getDataTransferProgress().hashCode()); hashCode = prime * hashCode + ((getHsmStatus() == null) ? 0 : getHsmStatus().hashCode()); hashCode = prime * hashCode + ((getClusterSnapshotCopyStatus() == null) ? 0 : getClusterSnapshotCopyStatus().hashCode());
if (other.getRestoreStatus() != null && other.getRestoreStatus().equals(this.getRestoreStatus()) == false) return false; if (other.getDataTransferProgress() == null ^ this.getDataTransferProgress() == null) return false; if (other.getDataTransferProgress() != null && other.getDataTransferProgress().equals(this.getDataTransferProgress()) == false) return false; if (other.getHsmStatus() == null ^ this.getHsmStatus() == null)