public static interface NotificationChannel.Builder extends SdkPojo, CopyableBuilder<NotificationChannel.Builder,NotificationChannel>
| Modifier and Type | Method and Description |
|---|---|
default NotificationChannel.Builder |
config(Consumer<NotificationChannelConfig.Builder> config)
A
NotificationChannelConfig object that contains information about configured notification
channels. |
NotificationChannel.Builder |
config(NotificationChannelConfig config)
A
NotificationChannelConfig object that contains information about configured notification
channels. |
NotificationChannel.Builder |
id(String id)
The ID of a notification channel.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNotificationChannel.Builder id(String id)
The ID of a notification channel.
id - The ID of a notification channel.NotificationChannel.Builder config(NotificationChannelConfig config)
A NotificationChannelConfig object that contains information about configured notification
channels.
config - A NotificationChannelConfig object that contains information about configured
notification channels.default NotificationChannel.Builder config(Consumer<NotificationChannelConfig.Builder> config)
A NotificationChannelConfig object that contains information about configured notification
channels.
NotificationChannelConfig.Builder
avoiding the need to create one manually via NotificationChannelConfig.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to config(NotificationChannelConfig).
config - a consumer that will call methods on NotificationChannelConfig.Builderconfig(NotificationChannelConfig)Copyright © 2023. All rights reserved.