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

        if (obj instanceof NamedEntityDefinition == false)
            return false;
        NamedEntityDefinition other = (NamedEntityDefinition) obj;
        if (other.getFieldName() == null ^ this.getFieldName() == null)
            return false;
        if (other.getFieldName() != null && other.getFieldName().equals(this.getFieldName()) == false)
            return false;
        if (other.getPropertyName() == null ^ this.getPropertyName() == null)
            return false;
        if (other.getPropertyName() != null && other.getPropertyName().equals(this.getPropertyName()) == false)
            return false;
        if (other.getPropertyRole() == null ^ this.getPropertyRole() == null)
            return false;
        if (other.getPropertyRole() != null && other.getPropertyRole().equals(this.getPropertyRole()) == false)
            return false;
        if (other.getPropertyUsage() == null ^ this.getPropertyUsage() == null)
            return false;
        if (other.getPropertyUsage() != null && other.getPropertyUsage().equals(this.getPropertyUsage()) == false)
            return false;
        if (other.getMetric() == null ^ this.getMetric() == null)
            return false;
        if (other.getMetric() != null && other.getMetric().equals(this.getMetric()) == 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-quicksight/src/main/java/com/amazonaws/services/quicksight/model/NamedEntityDefinition.java