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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateNotificationRequest.BuilderaccountId(String accountId)TheaccountIdthat is associated with the budget whose notification you want to update.UpdateNotificationRequest.BuilderbudgetName(String budgetName)The name of the budget whose notification you want to update.default UpdateNotificationRequest.BuildernewNotification(Consumer<Notification.Builder> newNotification)The updated notification to be associated with a budget.UpdateNotificationRequest.BuildernewNotification(Notification newNotification)The updated notification to be associated with a budget.default UpdateNotificationRequest.BuilderoldNotification(Consumer<Notification.Builder> oldNotification)The previous notification that is associated with a budget.UpdateNotificationRequest.BuilderoldNotification(Notification oldNotification)The previous notification that is associated with a budget.UpdateNotificationRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateNotificationRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
accountId
UpdateNotificationRequest.Builder accountId(String 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
UpdateNotificationRequest.Builder budgetName(String 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
UpdateNotificationRequest.Builder oldNotification(Notification 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:
oldNotification(Notification)
-
newNotification
UpdateNotificationRequest.Builder newNotification(Notification 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:
newNotification(Notification)
-
overrideConfiguration
UpdateNotificationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateNotificationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-