docs: public GetAggregateDiscoveredResourceCountsResult withGroupedResourceCounts(GroupedResourceCount... groupedResourceCounts) {
          if (this.groupedResourceCounts == null) {
              setGroupedResourceCounts(new com.amazonaws.internal.SdkInternalList<GroupedResourceCount>(groupedResourceCounts.length));
          }
          for (GroupedResourceCount ele : groupedResourceCounts) {
              this.groupedResourceCounts.add(ele);
          }
          return this;
      }