docs: public PipelineDeclaration withStages(StageDeclaration... stages) {
          if (this.stages == null) {
              setStages(new java.util.ArrayList<StageDeclaration>(stages.length));
          }
          for (StageDeclaration ele : stages) {
              this.stages.add(ele);
          }
          return this;
      }