public ListChannelsResult withChannels(ChannelSummary... channels) {
        if (this.channels == null) {
            setChannels(new java.util.ArrayList<ChannelSummary>(channels.length));
        }
        for (ChannelSummary ele : channels) {
            this.channels.add(ele);
        }
        return this;
    }
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setChannels(java.util.Collection)} or {@link #withChannels(java.util.Collection)} if you want to override
the existing values.
</p>

@param channels
@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/ListChannelsResult.java