Interface BudgetNotificationsForAccount.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BudgetNotificationsForAccount.Builder,
,BudgetNotificationsForAccount> SdkBuilder<BudgetNotificationsForAccount.Builder,
,BudgetNotificationsForAccount> SdkPojo
- Enclosing class:
BudgetNotificationsForAccount
@Mutable
@NotThreadSafe
public static interface BudgetNotificationsForAccount.Builder
extends SdkPojo, CopyableBuilder<BudgetNotificationsForAccount.Builder,BudgetNotificationsForAccount>
-
Method Summary
Modifier and TypeMethodDescriptionbudgetName
(String budgetName) Sets the value of the BudgetName property for this object.notifications
(Collection<Notification> notifications) Sets the value of the Notifications property for this object.notifications
(Consumer<Notification.Builder>... notifications) Sets the value of the Notifications property for this object.notifications
(Notification... notifications) Sets the value of the Notifications property for this object.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 Details
-
notifications
Sets the value of the Notifications property for this object.- Parameters:
notifications
- The new value for the Notifications property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notifications
Sets the value of the Notifications property for this object.- Parameters:
notifications
- The new value for the Notifications property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
notifications
BudgetNotificationsForAccount.Builder notifications(Consumer<Notification.Builder>... notifications) Sets the value of the Notifications property for this object. 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 tonotifications(List<Notification>)
.- Parameters:
notifications
- 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:
-
budgetName
Sets the value of the BudgetName property for this object.- Parameters:
budgetName
- The new value for the BudgetName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-