public static interface NotificationWithSubscribers.Builder extends SdkPojo, CopyableBuilder<NotificationWithSubscribers.Builder,NotificationWithSubscribers>
| Modifier and Type | Method and Description |
|---|---|
default NotificationWithSubscribers.Builder |
notification(Consumer<Notification.Builder> notification)
The notification that's associated with a budget.
|
NotificationWithSubscribers.Builder |
notification(Notification notification)
The notification that's associated with a budget.
|
NotificationWithSubscribers.Builder |
subscribers(Collection<Subscriber> subscribers)
A list of subscribers who are subscribed to this notification.
|
NotificationWithSubscribers.Builder |
subscribers(Consumer<Subscriber.Builder>... subscribers)
A list of subscribers who are subscribed to this notification.
|
NotificationWithSubscribers.Builder |
subscribers(Subscriber... subscribers)
A list of subscribers who are subscribed to this notification.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNotificationWithSubscribers.Builder notification(Notification notification)
The notification that's associated with a budget.
notification - The notification that's associated with a budget.default NotificationWithSubscribers.Builder notification(Consumer<Notification.Builder> notification)
The notification that's associated with a budget.
This is a convenience method that creates an instance of theNotification.Builder avoiding the need
to create one manually via Notification.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to notification(Notification).notification - a consumer that will call methods on Notification.Buildernotification(Notification)NotificationWithSubscribers.Builder subscribers(Collection<Subscriber> subscribers)
A list of subscribers who are subscribed to this notification.
subscribers - A list of subscribers who are subscribed to this notification.NotificationWithSubscribers.Builder subscribers(Subscriber... subscribers)
A list of subscribers who are subscribed to this notification.
subscribers - A list of subscribers who are subscribed to this notification.NotificationWithSubscribers.Builder subscribers(Consumer<Subscriber.Builder>... subscribers)
A list of subscribers who are subscribed to this notification.
This is a convenience method 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 #subscribers(List) .subscribers - a consumer that will call methods on List.Builder #subscribers(List) Copyright © 2022. All rights reserved.