public InsightResults withGroupByAttribute(String groupByAttribute) {
        setGroupByAttribute(groupByAttribute);
        return this;
    }
<p>
The attribute that the findings are grouped by for the insight whose results are returned by the
<code>GetInsightResults</code> operation.
</p>

@param groupByAttribute
       The attribute that the findings are grouped by for the insight whose results are returned by the
       <code>GetInsightResults</code> operation.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/InsightResults.java