public Filters withChannels(Channel... channels) {
        java.util.ArrayList<String> channelsCopy = new java.util.ArrayList<String>(channels.length);
        for (Channel value : channels) {
            channelsCopy.add(value.toString());
        }
        if (getChannels() == null) {
            setChannels(channelsCopy);
        } else {
            getChannels().addAll(channelsCopy);
        }
        return this;
    }
<p>
The channel to use to filter the metrics.
</p>

@param channels
       The channel to use to filter the metrics.
@return Returns a reference to this object so that method calls can be chained together.
@see Channel
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/Filters.java