Interface NotificationChannel.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NotificationChannel.Builder,
,NotificationChannel> SdkBuilder<NotificationChannel.Builder,
,NotificationChannel> SdkPojo
- Enclosing class:
NotificationChannel
public static interface NotificationChannel.Builder
extends SdkPojo, CopyableBuilder<NotificationChannel.Builder,NotificationChannel>
-
Method Summary
Modifier and TypeMethodDescriptiondefault NotificationChannel.Builder
ANotificationChannelConfig
object that contains information about configured notification channels.config
(NotificationChannelConfig config) ANotificationChannelConfig
object that contains information about configured notification channels.The ID of a notification channel.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 Details
-
id
The ID of a notification channel.
- Parameters:
id
- The ID of a notification channel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
A
NotificationChannelConfig
object that contains information about configured notification channels.- Parameters:
config
- ANotificationChannelConfig
object that contains information about configured notification channels.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
config
A
This is a convenience method that creates an instance of theNotificationChannelConfig
object that contains information about configured notification channels.NotificationChannelConfig.Builder
avoiding the need to create one manually viaNotificationChannelConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfig(NotificationChannelConfig)
.- Parameters:
config
- a consumer that will call methods onNotificationChannelConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-