Interface UpdateNotificationRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,BudgetsRequest.Builder
,Buildable
,CopyableBuilder<UpdateNotificationRequest.Builder,
,UpdateNotificationRequest> SdkBuilder<UpdateNotificationRequest.Builder,
,UpdateNotificationRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateNotificationRequest
public static interface UpdateNotificationRequest.Builder
extends BudgetsRequest.Builder, SdkPojo, CopyableBuilder<UpdateNotificationRequest.Builder,UpdateNotificationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionTheaccountId
that is associated with the budget whose notification you want to update.budgetName
(String budgetName) The name of the budget whose notification you want to update.newNotification
(Consumer<Notification.Builder> newNotification) The updated notification to be associated with a budget.newNotification
(Notification newNotification) The updated notification to be associated with a budget.oldNotification
(Consumer<Notification.Builder> oldNotification) The previous notification that is associated with a budget.oldNotification
(Notification oldNotification) The previous notification that is associated with a budget.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.budgets.model.BudgetsRequest.Builder
build
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
-
accountId
The
accountId
that is associated with the budget whose notification you want to update.- Parameters:
accountId
- TheaccountId
that is associated with the budget whose notification you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
budgetName
The name of the budget whose notification you want to update.
- Parameters:
budgetName
- The name of the budget whose notification you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oldNotification
The previous notification that is associated with a budget.
- Parameters:
oldNotification
- The previous notification that is associated with a budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
oldNotification
default UpdateNotificationRequest.Builder oldNotification(Consumer<Notification.Builder> oldNotification) The previous notification that is 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 tooldNotification(Notification)
.- Parameters:
oldNotification
- 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:
-
newNotification
The updated notification to be associated with a budget.
- Parameters:
newNotification
- The updated notification to be associated with a budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newNotification
default UpdateNotificationRequest.Builder newNotification(Consumer<Notification.Builder> newNotification) The updated notification to be 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 tonewNotification(Notification)
.- Parameters:
newNotification
- 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:
-
overrideConfiguration
UpdateNotificationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateNotificationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-