docs: public EventSelector withDataResources(DataResource... dataResources) {
          if (this.dataResources == null) {
              setDataResources(new com.amazonaws.internal.SdkInternalList<DataResource>(dataResources.length));
          }
          for (DataResource ele : dataResources) {
              this.dataResources.add(ele);
          }
          return this;
      }