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

        if (obj instanceof Bounce == false)
            return false;
        Bounce other = (Bounce) obj;
        if (other.getBounceType() == null ^ this.getBounceType() == null)
            return false;
        if (other.getBounceType() != null && other.getBounceType().equals(this.getBounceType()) == false)
            return false;
        if (other.getBounceSubType() == null ^ this.getBounceSubType() == null)
            return false;
        if (other.getBounceSubType() != null && other.getBounceSubType().equals(this.getBounceSubType()) == false)
            return false;
        if (other.getDiagnosticCode() == null ^ this.getDiagnosticCode() == null)
            return false;
        if (other.getDiagnosticCode() != null && other.getDiagnosticCode().equals(this.getDiagnosticCode()) == 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/Bounce.java