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

        if (obj instanceof TopicIRMetric == false)
            return false;
        TopicIRMetric other = (TopicIRMetric) obj;
        if (other.getMetricId() == null ^ this.getMetricId() == null)
            return false;
        if (other.getMetricId() != null && other.getMetricId().equals(this.getMetricId()) == false)
            return false;
        if (other.getFunction() == null ^ this.getFunction() == null)
            return false;
        if (other.getFunction() != null && other.getFunction().equals(this.getFunction()) == false)
            return false;
        if (other.getOperands() == null ^ this.getOperands() == null)
            return false;
        if (other.getOperands() != null && other.getOperands().equals(this.getOperands()) == false)
            return false;
        if (other.getComparisonMethod() == null ^ this.getComparisonMethod() == null)
            return false;
        if (other.getComparisonMethod() != null && other.getComparisonMethod().equals(this.getComparisonMethod()) == false)
            return false;
        if (other.getExpression() == null ^ this.getExpression() == null)
            return false;
        if (other.getExpression() != null && other.getExpression().equals(this.getExpression()) == false)
            return false;
        if (other.getCalculatedFieldReferences() == null ^ this.getCalculatedFieldReferences() == null)
            return false;
        if (other.getCalculatedFieldReferences() != null && other.getCalculatedFieldReferences().equals(this.getCalculatedFieldReferences()) == false)
            return false;
        if (other.getDisplayFormat() == null ^ this.getDisplayFormat() == null)
            return false;
        if (other.getDisplayFormat() != null && other.getDisplayFormat().equals(this.getDisplayFormat()) == false)
            return false;
        if (other.getDisplayFormatOptions() == null ^ this.getDisplayFormatOptions() == null)
            return false;
        if (other.getDisplayFormatOptions() != null && other.getDisplayFormatOptions().equals(this.getDisplayFormatOptions()) == false)
            return false;
        if (other.getNamedEntity() == null ^ this.getNamedEntity() == null)
            return false;
        if (other.getNamedEntity() != null && other.getNamedEntity().equals(this.getNamedEntity()) == 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/TopicIRMetric.java