public static interface UpdateBudgetRequest.Builder extends BudgetsRequest.Builder, SdkPojo, CopyableBuilder<UpdateBudgetRequest.Builder,UpdateBudgetRequest>
Modifier and Type | Method and Description |
---|---|
UpdateBudgetRequest.Builder |
accountId(String accountId)
The
accountId that is associated with the budget that you want to update. |
UpdateBudgetRequest.Builder |
newBudget(Budget newBudget)
The budget that you want to update your budget to.
|
default UpdateBudgetRequest.Builder |
newBudget(Consumer<Budget.Builder> newBudget)
The budget that you want to update your budget to.
|
UpdateBudgetRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateBudgetRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateBudgetRequest.Builder accountId(String accountId)
The accountId
that is associated with the budget that you want to update.
accountId
- The accountId
that is associated with the budget that you want to update.UpdateBudgetRequest.Builder newBudget(Budget newBudget)
The budget that you want to update your budget to.
newBudget
- The budget that you want to update your budget to.default UpdateBudgetRequest.Builder newBudget(Consumer<Budget.Builder> newBudget)
The budget that you want to update your budget to.
This is a convenience that creates an instance of theBudget.Builder
avoiding the need to create one
manually via Budget.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result is
passed to newBudget(Budget)
.newBudget
- a consumer that will call methods on Budget.Builder
newBudget(Budget)
UpdateBudgetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateBudgetRequest.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.