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

        this.channels = new java.util.ArrayList<NotificationChannel>(channels);
    }
<p>
An array that contains the requested notification channels.
</p>

@param channels
       An array that contains the requested notification channels.
aws-java-sdk-devopsguru/src/main/java/com/amazonaws/services/devopsguru/model/ListNotificationChannelsResult.java