@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getMetricId() != null)
            sb.append("MetricId: ").append(getMetricId()).append(",");
        if (getFunction() != null)
            sb.append("Function: ").append(getFunction()).append(",");
        if (getOperands() != null)
            sb.append("Operands: ").append(getOperands()).append(",");
        if (getComparisonMethod() != null)
            sb.append("ComparisonMethod: ").append(getComparisonMethod()).append(",");
        if (getExpression() != null)
            sb.append("Expression: ").append("***Sensitive Data Redacted***").append(",");
        if (getCalculatedFieldReferences() != null)
            sb.append("CalculatedFieldReferences: ").append(getCalculatedFieldReferences()).append(",");
        if (getDisplayFormat() != null)
            sb.append("DisplayFormat: ").append(getDisplayFormat()).append(",");
        if (getDisplayFormatOptions() != null)
            sb.append("DisplayFormatOptions: ").append(getDisplayFormatOptions()).append(",");
        if (getNamedEntity() != null)
            sb.append("NamedEntity: ").append(getNamedEntity());
        sb.append("}");
        return sb.toString();
    }
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