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.
|
copyapply, buildNotificationWithSubscribers.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.Buildernotification(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.