docs: public Pipeline withActivities(PipelineActivity... activities) {
          if (this.activities == null) {
              setActivities(new java.util.ArrayList<PipelineActivity>(activities.length));
          }
          for (PipelineActivity ele : activities) {
              this.activities.add(ele);
          }
          return this;
      }