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 TypeMethodDescriptionTheaccountIdthat 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
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.budgets.model.BudgetsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
accountId
The
accountIdthat is associated with the budget whose notification you want to update.- Parameters:
accountId- TheaccountIdthat 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.Builderavoiding the need to create one manually viaNotification.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaNotification.builder().When the
Consumercompletes,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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin 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.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-