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

        if (obj instanceof RecoveryInstanceDataReplicationInfoReplicatedDisk == false)
            return false;
        RecoveryInstanceDataReplicationInfoReplicatedDisk other = (RecoveryInstanceDataReplicationInfoReplicatedDisk) obj;
        if (other.getBackloggedStorageBytes() == null ^ this.getBackloggedStorageBytes() == null)
            return false;
        if (other.getBackloggedStorageBytes() != null && other.getBackloggedStorageBytes().equals(this.getBackloggedStorageBytes()) == false)
            return false;
        if (other.getDeviceName() == null ^ this.getDeviceName() == null)
            return false;
        if (other.getDeviceName() != null && other.getDeviceName().equals(this.getDeviceName()) == false)
            return false;
        if (other.getReplicatedStorageBytes() == null ^ this.getReplicatedStorageBytes() == null)
            return false;
        if (other.getReplicatedStorageBytes() != null && other.getReplicatedStorageBytes().equals(this.getReplicatedStorageBytes()) == false)
            return false;
        if (other.getRescannedStorageBytes() == null ^ this.getRescannedStorageBytes() == null)
            return false;
        if (other.getRescannedStorageBytes() != null && other.getRescannedStorageBytes().equals(this.getRescannedStorageBytes()) == false)
            return false;
        if (other.getTotalStorageBytes() == null ^ this.getTotalStorageBytes() == null)
            return false;
        if (other.getTotalStorageBytes() != null && other.getTotalStorageBytes().equals(this.getTotalStorageBytes()) == false)
            return false;
        return true;
    }
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
redacted from this string using a placeholder value.

@return A string representation of this object.

@see java.lang.Object#toString()
aws-java-sdk-drs/src/main/java/com/amazonaws/services/drs/model/RecoveryInstanceDataReplicationInfoReplicatedDisk.java