public TermsAggregation getTermsAggregation() {
        return this.termsAggregation;
    }
<p>
Performs an aggregation that will return a list of buckets. The list of buckets is a ranked list of the number of
occurrences of an aggregation field value.
</p>

@return Performs an aggregation that will return a list of buckets. The list of buckets is a ranked list of the
        number of occurrences of an aggregation field value.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/BucketsAggregationType.java