Interface NotificationWithSubscribers.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NotificationWithSubscribers.Builder,
,NotificationWithSubscribers> SdkBuilder<NotificationWithSubscribers.Builder,
,NotificationWithSubscribers> SdkPojo
- Enclosing class:
NotificationWithSubscribers
public static interface NotificationWithSubscribers.Builder
extends SdkPojo, CopyableBuilder<NotificationWithSubscribers.Builder,NotificationWithSubscribers>
-
Method Summary
Modifier and TypeMethodDescriptionnotification
(Consumer<Notification.Builder> notification) The notification that's associated with a budget.notification
(Notification notification) The notification that's associated with a budget.subscribers
(Collection<Subscriber> subscribers) A list of subscribers who are subscribed to this notification.subscribers
(Consumer<Subscriber.Builder>... subscribers) A list of subscribers who are subscribed to this notification.subscribers
(Subscriber... subscribers) A list of subscribers who are subscribed to this notification.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
notification
The notification that's associated with a budget.
- Parameters:
notification
- The notification that's associated with a budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notification
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 viaNotification.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tonotification(Notification)
.- Parameters:
notification
- a consumer that will call methods onNotification.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subscribers
A list of subscribers who are subscribed to this notification.
- Parameters:
subscribers
- A list of subscribers who are subscribed to this notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribers
A list of subscribers who are subscribed to this notification.
- Parameters:
subscribers
- A list of subscribers who are subscribed to this notification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subscribers
A list of subscribers who are subscribed to this notification.
This is a convenience method that creates an instance of theSubscriber.Builder
avoiding the need to create one manually viaSubscriber.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubscribers(List<Subscriber>)
.- Parameters:
subscribers
- a consumer that will call methods onSubscriber.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-