public static interface NotificationSetting.Builder extends SdkPojo, CopyableBuilder<NotificationSetting.Builder,NotificationSetting>
| Modifier and Type | Method and Description |
|---|---|
NotificationSetting.Builder |
channel(NotificationChannel channel)
The specified channel of notification.
|
NotificationSetting.Builder |
channel(String channel)
The specified channel of notification.
|
NotificationSetting.Builder |
enabled(Boolean enabled)
Indicates whether the notification setting is enabled.
|
NotificationSetting.Builder |
event(NotificationEvent event)
The event to which this notification setting is applied.
|
NotificationSetting.Builder |
event(String event)
The event to which this notification setting is applied.
|
NotificationSetting.Builder |
threshold(Integer threshold)
The number of days before a notification event.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNotificationSetting.Builder channel(String channel)
The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.
In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.
channel - The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and
Health Dashboard to notify for an event. In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.
NotificationChannel,
NotificationChannelNotificationSetting.Builder channel(NotificationChannel channel)
The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and Health Dashboard to notify for an event.
In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.
channel - The specified channel of notification. IAM Roles Anywhere uses CloudWatch metrics, EventBridge, and
Health Dashboard to notify for an event. In the absence of a specific channel, IAM Roles Anywhere applies this setting to 'ALL' channels.
NotificationChannel,
NotificationChannelNotificationSetting.Builder enabled(Boolean enabled)
Indicates whether the notification setting is enabled.
enabled - Indicates whether the notification setting is enabled.NotificationSetting.Builder event(String event)
The event to which this notification setting is applied.
event - The event to which this notification setting is applied.NotificationEvent,
NotificationEventNotificationSetting.Builder event(NotificationEvent event)
The event to which this notification setting is applied.
event - The event to which this notification setting is applied.NotificationEvent,
NotificationEventNotificationSetting.Builder threshold(Integer threshold)
The number of days before a notification event. This value is required for a notification setting that is enabled.
threshold - The number of days before a notification event. This value is required for a notification setting that
is enabled.Copyright © 2023. All rights reserved.