docs: public GetPipelineStateResult withStageStates(StageState... stageStates) {
          if (this.stageStates == null) {
              setStageStates(new java.util.ArrayList<StageState>(stageStates.length));
          }
          for (StageState ele : stageStates) {
              this.stageStates.add(ele);
          }
          return this;
      }