docs: public ListDeploymentsResult withDeployments(Deployment... deployments) {
          if (this.deployments == null) {
              setDeployments(new java.util.ArrayList<Deployment>(deployments.length));
          }
          for (Deployment ele : deployments) {
              this.deployments.add(ele);
          }
          return this;
      }