public void setChannels(java.util.Collection<String> channels) {
        if (channels == null) {
            this.channels = null;
            return;
        }

        this.channels = new java.util.ArrayList<String>(channels);
    }
<p>
The channel to use to filter the metrics.
</p>

@param channels
       The channel to use to filter the metrics.
@see Channel
aws-java-sdk-connect/src/main/java/com/amazonaws/services/connect/model/Filters.java