docs: public ListTemplatesResult withTemplatesMetadata(TemplateMetadata... templatesMetadata) {
          if (this.templatesMetadata == null) {
              setTemplatesMetadata(new com.amazonaws.internal.SdkInternalList<TemplateMetadata>(templatesMetadata.length));
          }
          for (TemplateMetadata ele : templatesMetadata) {
              this.templatesMetadata.add(ele);
          }
          return this;
      }