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

        if (obj instanceof GlobalClusterMember == false)
            return false;
        GlobalClusterMember other = (GlobalClusterMember) obj;
        if (other.getDBClusterArn() == null ^ this.getDBClusterArn() == null)
            return false;
        if (other.getDBClusterArn() != null && other.getDBClusterArn().equals(this.getDBClusterArn()) == false)
            return false;
        if (other.getReaders() == null ^ this.getReaders() == null)
            return false;
        if (other.getReaders() != null && other.getReaders().equals(this.getReaders()) == false)
            return false;
        if (other.getIsWriter() == null ^ this.getIsWriter() == null)
            return false;
        if (other.getIsWriter() != null && other.getIsWriter().equals(this.getIsWriter()) == 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-docdb/src/main/java/com/amazonaws/services/docdb/model/GlobalClusterMember.java