public ListRecommendationSummariesRequest withGroupBy(String groupBy) {
        setGroupBy(groupBy);
        return this;
    }
<p>
The grouping of recommendations by a dimension.
</p>

@param groupBy
       The grouping of recommendations by a dimension.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-costoptimizationhub/src/main/java/com/amazonaws/services/costoptimizationhub/model/ListRecommendationSummariesRequest.java