docs: public WorkflowTypeInfos withTypeInfos(WorkflowTypeInfo... typeInfos) {
          if (this.typeInfos == null) {
              setTypeInfos(new java.util.ArrayList<WorkflowTypeInfo>(typeInfos.length));
          }
          for (WorkflowTypeInfo ele : typeInfos) {
              this.typeInfos.add(ele);
          }
          return this;
      }