Interface NotificationSetting.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NotificationSetting.Builder,NotificationSetting>,SdkBuilder<NotificationSetting.Builder,NotificationSetting>,SdkPojo
- Enclosing class:
- NotificationSetting
public static interface NotificationSetting.Builder extends SdkPojo, CopyableBuilder<NotificationSetting.Builder,NotificationSetting>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NotificationSetting.Builderchannel(String channel)The specified channel of notification.NotificationSetting.Builderchannel(NotificationChannel channel)The specified channel of notification.NotificationSetting.Builderenabled(Boolean enabled)Indicates whether the notification setting is enabled.NotificationSetting.Builderevent(String event)The event to which this notification setting is applied.NotificationSetting.Builderevent(NotificationEvent event)The event to which this notification setting is applied.NotificationSetting.Builderthreshold(Integer threshold)The number of days before a notification event.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
channel
NotificationSetting.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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NotificationChannel,NotificationChannel
-
channel
NotificationSetting.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.
- Parameters:
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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NotificationChannel,NotificationChannel
-
enabled
NotificationSetting.Builder enabled(Boolean enabled)
Indicates whether the notification setting is enabled.
- Parameters:
enabled- Indicates whether the notification setting is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
event
NotificationSetting.Builder event(String event)
The event to which this notification setting is applied.
- Parameters:
event- The event to which this notification setting is applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NotificationEvent,NotificationEvent
-
event
NotificationSetting.Builder event(NotificationEvent event)
The event to which this notification setting is applied.
- Parameters:
event- The event to which this notification setting is applied.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
NotificationEvent,NotificationEvent
-
threshold
NotificationSetting.Builder threshold(Integer threshold)
The number of days before a notification event. This value is required for a notification setting that is enabled.
- Parameters:
threshold- The number of days before a notification event. This value is required for a notification setting that is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-