public java.util.List<InventoryGroup> getGroups() {
        if (groups == null) {
            groups = new com.amazonaws.internal.SdkInternalList<InventoryGroup>();
        }
        return groups;
    }
<p>
A user-defined set of one or more filters on which to aggregate inventory data. Groups return a count of
resources that match and don't match the specified criteria.
</p>

@return A user-defined set of one or more filters on which to aggregate inventory data. Groups return a count of
        resources that match and don't match the specified criteria.
aws-java-sdk-ssm/src/main/java/com/amazonaws/services/simplesystemsmanagement/model/InventoryAggregator.java