code: public HlsIngest withIngestEndpoints(IngestEndpoint... ingestEndpoints) {
          if (this.ingestEndpoints == null) {
              setIngestEndpoints(new java.util.ArrayList<IngestEndpoint>(ingestEndpoints.length));
          }
          for (IngestEndpoint ele : ingestEndpoints) {
              this.ingestEndpoints.add(ele);
          }
          return this;
      }
docs: A list of endpoints to which the source stream should be sent.
  <p>
  <b>NOTE:</b> This method appends the values to the existing list (if any). Use
  {@link #setIngestEndpoints(java.util.Collection)} or {@link #withIngestEndpoints(java.util.Collection)} if you
  want to override the existing values.
  </p>
  
  @param ingestEndpoints
  A list of endpoints to which the source stream should be sent.
  @return Returns a reference to this object so that method calls can be chained together.