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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default NotificationWithSubscribers.Buildernotification(Consumer<Notification.Builder> notification)The notification that's associated with a budget.NotificationWithSubscribers.Buildernotification(Notification notification)The notification that's associated with a budget.NotificationWithSubscribers.Buildersubscribers(Collection<Subscriber> subscribers)A list of subscribers who are subscribed to this notification.NotificationWithSubscribers.Buildersubscribers(Consumer<Subscriber.Builder>... subscribers)A list of subscribers who are subscribed to this notification.NotificationWithSubscribers.Buildersubscribers(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
notification
NotificationWithSubscribers.Builder notification(Notification 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.Builderavoiding the need to create one manually viaNotification.builder().When the
Consumercompletes,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:
notification(Notification)
-
subscribers
NotificationWithSubscribers.Builder subscribers(Collection<Subscriber> 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
NotificationWithSubscribers.Builder subscribers(Subscriber... 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
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 theSubscriber.Builderavoiding the need to create one manually viaSubscriber.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#subscribers(List.) - 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:
#subscribers(java.util.Collection)
-
-