public static interface NotificationWithSubscribers.Builder extends CopyableBuilder<NotificationWithSubscribers.Builder,NotificationWithSubscribers>
Modifier and Type | Method and Description |
---|---|
default NotificationWithSubscribers.Builder |
notification(Consumer<Notification.Builder> notification)
Sets the value of the Notification property for this object.
|
NotificationWithSubscribers.Builder |
notification(Notification notification)
Sets the value of the Notification property for this object.
|
NotificationWithSubscribers.Builder |
subscribers(Collection<Subscriber> subscribers)
Sets the value of the Subscribers property for this object.
|
NotificationWithSubscribers.Builder |
subscribers(Consumer<Subscriber.Builder>... subscribers)
Sets the value of the Subscribers property for this object.
|
NotificationWithSubscribers.Builder |
subscribers(Subscriber... subscribers)
Sets the value of the Subscribers property for this object.
|
copy
applyMutation, build
NotificationWithSubscribers.Builder notification(Notification notification)
notification
- The new value for the Notification property for this object.default NotificationWithSubscribers.Builder notification(Consumer<Notification.Builder> notification)
Notification.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)
subscribers
- The new value for the Subscribers property for this object.NotificationWithSubscribers.Builder subscribers(Subscriber... subscribers)
subscribers
- The new value for the Subscribers property for this object.NotificationWithSubscribers.Builder subscribers(Consumer<Subscriber.Builder>... subscribers)
List.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.