docs: public ListResourcesForTagOptionResult withResourceDetails(ResourceDetail... resourceDetails) {
          if (this.resourceDetails == null) {
              setResourceDetails(new java.util.ArrayList<ResourceDetail>(resourceDetails.length));
          }
          for (ResourceDetail ele : resourceDetails) {
              this.resourceDetails.add(ele);
          }
          return this;
      }