Interface UpdateBudgetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BudgetsRequest.Builder,Buildable,CopyableBuilder<UpdateBudgetRequest.Builder,,UpdateBudgetRequest> SdkBuilder<UpdateBudgetRequest.Builder,,UpdateBudgetRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateBudgetRequest
@Mutable
@NotThreadSafe
public static interface UpdateBudgetRequest.Builder
extends BudgetsRequest.Builder, SdkPojo, CopyableBuilder<UpdateBudgetRequest.Builder,UpdateBudgetRequest>
-
Method Summary
Modifier and TypeMethodDescriptionTheaccountIdthat 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.The budget that you want to update your budget to.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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:
-
overrideConfiguration
UpdateBudgetRequest.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
UpdateBudgetRequest.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.
-