@Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append("{");
        if (getKeyLabels() != null)
            sb.append("KeyLabels: ").append(getKeyLabels()).append(",");
        if (getAggregationStatistic() != null)
            sb.append("AggregationStatistic: ").append(getAggregationStatistic()).append(",");
        if (getAggregateValue() != null)
            sb.append("AggregateValue: ").append(getAggregateValue()).append(",");
        if (getApproximateUniqueCount() != null)
            sb.append("ApproximateUniqueCount: ").append(getApproximateUniqueCount()).append(",");
        if (getContributors() != null)
            sb.append("Contributors: ").append(getContributors()).append(",");
        if (getMetricDatapoints() != null)
            sb.append("MetricDatapoints: ").append(getMetricDatapoints());
        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-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/GetInsightRuleReportResult.java