public DescribeFleetMetricResult withAggregationType(AggregationType aggregationType) {
        setAggregationType(aggregationType);
        return this;
    }
<p>
The type of the aggregation query.
</p>

@param aggregationType
       The type of the aggregation query.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/DescribeFleetMetricResult.java