public UpdateChannelResult 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;
    }
<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
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-mediapackagev2/src/main/java/com/amazonaws/services/mediapackagev2/model/UpdateChannelResult.java