docs: public ListInstancesRequest withInstanceGroupTypes(String... instanceGroupTypes) {
          if (this.instanceGroupTypes == null) {
              setInstanceGroupTypes(new com.amazonaws.internal.SdkInternalList<String>(instanceGroupTypes.length));
          }
          for (String ele : instanceGroupTypes) {
              this.instanceGroupTypes.add(ele);
          }
          return this;
      }