public java.util.List<String> getGroupings() {
        return groupings;
    }
<p>
The grouping applied to the metrics returned. For example, when results are grouped by queue, the metrics
returned are grouped by queue. The values returned apply to the metrics for each queue rather than aggregated for
all queues.
</p>
<p>
If no grouping is specified, a summary of metrics for all queues is returned.
</p>
<p>
RoutingStepExpression is not a valid filter for GetMetricData and we recommend switching to GetMetricDataV2 for
more up-to-date features.
</p>

@return The grouping applied to the metrics returned. For example, when results are grouped by queue, the metrics
        returned are grouped by queue. The values returned apply to the metrics for each queue rather than
        aggregated for all queues.</p>
        <p>
        If no grouping is specified, a summary of metrics for all queues is returned.
        </p>
        <p>
        RoutingStepExpression is not a valid filter for GetMetricData and we recommend switching to
        GetMetricDataV2 for more up-to-date features.
@see Grouping
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/GetMetricDataRequest.java