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

        if (obj instanceof IdMappingRuleBasedProperties == false)
            return false;
        IdMappingRuleBasedProperties other = (IdMappingRuleBasedProperties) obj;
        if (other.getAttributeMatchingModel() == null ^ this.getAttributeMatchingModel() == null)
            return false;
        if (other.getAttributeMatchingModel() != null && other.getAttributeMatchingModel().equals(this.getAttributeMatchingModel()) == false)
            return false;
        if (other.getRecordMatchingModel() == null ^ this.getRecordMatchingModel() == null)
            return false;
        if (other.getRecordMatchingModel() != null && other.getRecordMatchingModel().equals(this.getRecordMatchingModel()) == false)
            return false;
        if (other.getRuleDefinitionType() == null ^ this.getRuleDefinitionType() == null)
            return false;
        if (other.getRuleDefinitionType() != null && other.getRuleDefinitionType().equals(this.getRuleDefinitionType()) == false)
            return false;
        if (other.getRules() == null ^ this.getRules() == null)
            return false;
        if (other.getRules() != null && other.getRules().equals(this.getRules()) == 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-entityresolution/src/main/java/com/amazonaws/services/entityresolution/model/IdMappingRuleBasedProperties.java