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

        if (obj instanceof LendingDocument == false)
            return false;
        LendingDocument other = (LendingDocument) obj;
        if (other.getLendingFields() == null ^ this.getLendingFields() == null)
            return false;
        if (other.getLendingFields() != null && other.getLendingFields().equals(this.getLendingFields()) == false)
            return false;
        if (other.getSignatureDetections() == null ^ this.getSignatureDetections() == null)
            return false;
        if (other.getSignatureDetections() != null && other.getSignatureDetections().equals(this.getSignatureDetections()) == 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-textract/src/main/java/com/amazonaws/services/textract/model/LendingDocument.java