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.BuilderANotificationChannelConfigobject that contains information about configured notification channels.config(NotificationChannelConfig config) ANotificationChannelConfigobject that contains information about configured notification channels.The ID of a notification channel.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
NotificationChannelConfigobject that contains information about configured notification channels.- Parameters:
config- ANotificationChannelConfigobject 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 theNotificationChannelConfigobject that contains information about configured notification channels.NotificationChannelConfig.Builderavoiding the need to create one manually viaNotificationChannelConfig.builder().When the
Consumercompletes,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:
-