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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default NotificationChannel.Builderconfig(Consumer<NotificationChannelConfig.Builder> config)ANotificationChannelConfigobject that contains information about configured notification channels.NotificationChannel.Builderconfig(NotificationChannelConfig config)ANotificationChannelConfigobject that contains information about configured notification channels.NotificationChannel.Builderid(String id)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 Detail
-
id
NotificationChannel.Builder id(String 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
NotificationChannel.Builder config(NotificationChannelConfig 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
default NotificationChannel.Builder config(Consumer<NotificationChannelConfig.Builder> 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:
config(NotificationChannelConfig)
-
-