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

        if (obj instanceof ReplicationDetails == false)
            return false;
        ReplicationDetails other = (ReplicationDetails) obj;
        if (other.getReplicated() == null ^ this.getReplicated() == null)
            return false;
        if (other.getReplicated() != null && other.getReplicated().equals(this.getReplicated()) == false)
            return false;
        if (other.getReplicatedExternally() == null ^ this.getReplicatedExternally() == null)
            return false;
        if (other.getReplicatedExternally() != null && other.getReplicatedExternally().equals(this.getReplicatedExternally()) == false)
            return false;
        if (other.getReplicationAccounts() == null ^ this.getReplicationAccounts() == null)
            return false;
        if (other.getReplicationAccounts() != null && other.getReplicationAccounts().equals(this.getReplicationAccounts()) == 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-macie2/src/main/java/com/amazonaws/services/macie2/model/ReplicationDetails.java