public static interface UpdateNotificationRequest.Builder extends BudgetsRequest.Builder, SdkPojo, CopyableBuilder<UpdateNotificationRequest.Builder,UpdateNotificationRequest>
Modifier and Type | Method and Description |
---|---|
UpdateNotificationRequest.Builder |
accountId(String accountId)
The
accountId that is associated with the budget whose notification you want to update. |
UpdateNotificationRequest.Builder |
budgetName(String budgetName)
The name of the budget whose notification you want to update.
|
default UpdateNotificationRequest.Builder |
newNotification(Consumer<Notification.Builder> newNotification)
The updated notification to be associated with a budget.
|
UpdateNotificationRequest.Builder |
newNotification(Notification newNotification)
The updated notification to be associated with a budget.
|
default UpdateNotificationRequest.Builder |
oldNotification(Consumer<Notification.Builder> oldNotification)
The previous notification that is associated with a budget.
|
UpdateNotificationRequest.Builder |
oldNotification(Notification oldNotification)
The previous notification that is associated with a budget.
|
UpdateNotificationRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateNotificationRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateNotificationRequest.Builder accountId(String accountId)
The accountId
that is associated with the budget whose notification you want to update.
accountId
- The accountId
that is associated with the budget whose notification you want to update.UpdateNotificationRequest.Builder budgetName(String budgetName)
The name of the budget whose notification you want to update.
budgetName
- The name of the budget whose notification you want to update.UpdateNotificationRequest.Builder oldNotification(Notification oldNotification)
The previous notification that is associated with a budget.
oldNotification
- The previous notification that is associated with a budget.default UpdateNotificationRequest.Builder oldNotification(Consumer<Notification.Builder> oldNotification)
The previous notification that is associated with a budget.
This is a convenience that creates an instance of theNotification.Builder
avoiding the need to
create one manually via Notification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to oldNotification(Notification)
.oldNotification
- a consumer that will call methods on Notification.Builder
oldNotification(Notification)
UpdateNotificationRequest.Builder newNotification(Notification newNotification)
The updated notification to be associated with a budget.
newNotification
- The updated notification to be associated with a budget.default UpdateNotificationRequest.Builder newNotification(Consumer<Notification.Builder> newNotification)
The updated notification to be associated with a budget.
This is a convenience that creates an instance of theNotification.Builder
avoiding the need to
create one manually via Notification.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to newNotification(Notification)
.newNotification
- a consumer that will call methods on Notification.Builder
newNotification(Notification)
UpdateNotificationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateNotificationRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.