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

        if (obj instanceof SOARecord == false)
            return false;
        SOARecord other = (SOARecord) obj;
        if (other.getPrimaryNameServer() == null ^ this.getPrimaryNameServer() == null)
            return false;
        if (other.getPrimaryNameServer() != null && other.getPrimaryNameServer().equals(this.getPrimaryNameServer()) == false)
            return false;
        if (other.getAdminEmail() == null ^ this.getAdminEmail() == null)
            return false;
        if (other.getAdminEmail() != null && other.getAdminEmail().equals(this.getAdminEmail()) == false)
            return false;
        if (other.getSerialNumber() == null ^ this.getSerialNumber() == null)
            return false;
        if (other.getSerialNumber() != null && other.getSerialNumber().equals(this.getSerialNumber()) == 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-sesv2/src/main/java/com/amazonaws/services/simpleemailv2/model/SOARecord.java