docs: public JobFlowInstancesConfig withInstanceGroups(InstanceGroupConfig... instanceGroups) {
          if (this.instanceGroups == null) {
              setInstanceGroups(new com.amazonaws.internal.SdkInternalList<InstanceGroupConfig>(instanceGroups.length));
          }
          for (InstanceGroupConfig ele : instanceGroups) {
              this.instanceGroups.add(ele);
          }
          return this;
      }