public static interface NotificationConfiguration.Builder extends SdkPojo, CopyableBuilder<NotificationConfiguration.Builder,NotificationConfiguration>
Modifier and Type | Method and Description |
---|---|
NotificationConfiguration.Builder |
channels(Channel... channels)
List of up to two channels to be used for sending notifications for events detected from the application
profile.
|
NotificationConfiguration.Builder |
channels(Collection<Channel> channels)
List of up to two channels to be used for sending notifications for events detected from the application
profile.
|
NotificationConfiguration.Builder |
channels(Consumer<Channel.Builder>... channels)
List of up to two channels to be used for sending notifications for events detected from the application
profile.
|
equalsBySdkFields, sdkFields
copy
applyMutation, build
NotificationConfiguration.Builder channels(Collection<Channel> channels)
List of up to two channels to be used for sending notifications for events detected from the application profile.
channels
- List of up to two channels to be used for sending notifications for events detected from the
application profile.NotificationConfiguration.Builder channels(Channel... channels)
List of up to two channels to be used for sending notifications for events detected from the application profile.
channels
- List of up to two channels to be used for sending notifications for events detected from the
application profile.NotificationConfiguration.Builder channels(Consumer<Channel.Builder>... channels)
List of up to two channels to be used for sending notifications for events detected from the application profile.
This is a convenience that creates an instance of theList.Builder
avoiding the need to
create one manually via List#builder()
.
When the Consumer
completes, List.Builder#build()
is called immediately and its
result is passed to #channels(List)
.channels
- a consumer that will call methods on List.Builder
#channels(List)