Interface UpdateBudgetRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,BudgetsRequest.Builder,Buildable,CopyableBuilder<UpdateBudgetRequest.Builder,UpdateBudgetRequest>,SdkBuilder<UpdateBudgetRequest.Builder,UpdateBudgetRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateBudgetRequest
public static interface UpdateBudgetRequest.Builder extends BudgetsRequest.Builder, SdkPojo, CopyableBuilder<UpdateBudgetRequest.Builder,UpdateBudgetRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateBudgetRequest.BuilderaccountId(String accountId)TheaccountIdthat is associated with the budget that you want to update.default UpdateBudgetRequest.BuildernewBudget(Consumer<Budget.Builder> newBudget)The budget that you want to update your budget to.UpdateBudgetRequest.BuildernewBudget(Budget newBudget)The budget that you want to update your budget to.UpdateBudgetRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateBudgetRequest.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
UpdateBudgetRequest.Builder accountId(String accountId)
The
accountIdthat is associated with the budget that you want to update.- Parameters:
accountId- TheaccountIdthat is associated with the budget that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newBudget
UpdateBudgetRequest.Builder newBudget(Budget newBudget)
The budget that you want to update your budget to.
- Parameters:
newBudget- The budget that you want to update your budget to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
newBudget
default UpdateBudgetRequest.Builder newBudget(Consumer<Budget.Builder> newBudget)
The budget that you want to update your budget to.
This is a convenience method that creates an instance of theBudget.Builderavoiding the need to create one manually viaBudget.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonewBudget(Budget).- Parameters:
newBudget- a consumer that will call methods onBudget.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
newBudget(Budget)
-
overrideConfiguration
UpdateBudgetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateBudgetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-