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 is associated with a budget.
|
NotificationWithSubscribers.Builder |
notification(Notification notification)
The notification that is 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.
|
copy
applyMutation, build
NotificationWithSubscribers.Builder notification(Notification notification)
The notification that is associated with a budget.
notification
- The notification that is associated with a budget.default NotificationWithSubscribers.Builder notification(Consumer<Notification.Builder> notification)
The notification that is associated with a budget.
This is a convenience 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.Builder
notification(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 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 © 2017 Amazon Web Services, Inc. All Rights Reserved.