public DeleteChannelResult withEgressEndpoints(ChannelEgressEndpoint... egressEndpoints) {
        if (this.egressEndpoints == null) {
            setEgressEndpoints(new java.util.ArrayList<ChannelEgressEndpoint>(egressEndpoints.length));
        }
        for (ChannelEgressEndpoint ele : egressEndpoints) {
            this.egressEndpoints.add(ele);
        }
        return this;
    }
The endpoints where outgoing connections initiate from
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setEgressEndpoints(java.util.Collection)} or {@link #withEgressEndpoints(java.util.Collection)} if you
want to override the existing values.
</p>

@param egressEndpoints
       The endpoints where outgoing connections initiate from
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-medialive/src/main/java/com/amazonaws/services/medialive/model/DeleteChannelResult.java