public GetInsightRuleReportResult withAggregationStatistic(String aggregationStatistic) {
        setAggregationStatistic(aggregationStatistic);
        return this;
    }
<p>
Specifies whether this rule aggregates contributor data by COUNT or SUM.
</p>

@param aggregationStatistic
       Specifies whether this rule aggregates contributor data by COUNT or SUM.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-cloudwatch/src/main/java/com/amazonaws/services/cloudwatch/model/GetInsightRuleReportResult.java