public void setChannel(String channel) {
        this.channel = channel;
    }
<p>
The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health
Dashboard to notify for an event.
</p>
<note>
<p>
In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.
</p>
</note>

@param channel
       The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health
       Dashboard to notify for an event.</p> <note>
       <p>
       In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.
       </p>
@see NotificationChannel
aws-java-sdk-iamrolesanywhere/src/main/java/com/amazonaws/services/iamrolesanywhere/model/NotificationSettingDetail.java