public Insight withGroupByAttribute(String groupByAttribute) {
        setGroupByAttribute(groupByAttribute);
        return this;
    }
<p>
The grouping attribute for the insight's findings. Indicates how to group the matching findings, and identifies
the type of item that the insight applies to. For example, if an insight is grouped by resource identifier, then
the insight produces a list of resource identifiers.
</p>

@param groupByAttribute
       The grouping attribute for the insight's findings. Indicates how to group the matching findings, and
       identifies the type of item that the insight applies to. For example, if an insight is grouped by resource
       identifier, then the insight produces a list of resource identifiers.
@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/Insight.java