Interface UpdateBudgetRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateBudgetRequest.Builder,UpdateBudgetRequest>,DeadlineRequest.Builder,SdkBuilder<UpdateBudgetRequest.Builder,UpdateBudgetRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UpdateBudgetRequest
public static interface UpdateBudgetRequest.Builder extends DeadlineRequest.Builder, SdkPojo, CopyableBuilder<UpdateBudgetRequest.Builder,UpdateBudgetRequest>
-
-
Method Summary
-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.deadline.model.DeadlineRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
actionsToAdd
UpdateBudgetRequest.Builder actionsToAdd(Collection<BudgetActionToAdd> actionsToAdd)
The budget actions to add. Budget actions specify what happens when the budget runs out.
- Parameters:
actionsToAdd- The budget actions to add. Budget actions specify what happens when the budget runs out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionsToAdd
UpdateBudgetRequest.Builder actionsToAdd(BudgetActionToAdd... actionsToAdd)
The budget actions to add. Budget actions specify what happens when the budget runs out.
- Parameters:
actionsToAdd- The budget actions to add. Budget actions specify what happens when the budget runs out.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionsToAdd
UpdateBudgetRequest.Builder actionsToAdd(Consumer<BudgetActionToAdd.Builder>... actionsToAdd)
The budget actions to add. Budget actions specify what happens when the budget runs out.
This is a convenience method that creates an instance of theBudgetActionToAdd.Builderavoiding the need to create one manually viaBudgetActionToAdd.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#actionsToAdd(List.) - Parameters:
actionsToAdd- a consumer that will call methods onBudgetActionToAdd.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#actionsToAdd(java.util.Collection)
-
actionsToRemove
UpdateBudgetRequest.Builder actionsToRemove(Collection<BudgetActionToRemove> actionsToRemove)
The budget actions to remove from the budget.
- Parameters:
actionsToRemove- The budget actions to remove from the budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionsToRemove
UpdateBudgetRequest.Builder actionsToRemove(BudgetActionToRemove... actionsToRemove)
The budget actions to remove from the budget.
- Parameters:
actionsToRemove- The budget actions to remove from the budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionsToRemove
UpdateBudgetRequest.Builder actionsToRemove(Consumer<BudgetActionToRemove.Builder>... actionsToRemove)
The budget actions to remove from the budget.
This is a convenience method that creates an instance of theBudgetActionToRemove.Builderavoiding the need to create one manually viaBudgetActionToRemove.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#actionsToRemove(List.) - Parameters:
actionsToRemove- a consumer that will call methods onBudgetActionToRemove.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#actionsToRemove(java.util.Collection)
-
approximateDollarLimit
UpdateBudgetRequest.Builder approximateDollarLimit(Float approximateDollarLimit)
The dollar limit to update on the budget. Based on consumed usage.
- Parameters:
approximateDollarLimit- The dollar limit to update on the budget. Based on consumed usage.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
budgetId
UpdateBudgetRequest.Builder budgetId(String budgetId)
The budget ID to update.
- Parameters:
budgetId- The budget ID to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
UpdateBudgetRequest.Builder clientToken(String clientToken)
The unique token which the server uses to recognize retries of the same request.
- Parameters:
clientToken- The unique token which the server uses to recognize retries of the same request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateBudgetRequest.Builder description(String description)
The description of the budget to update.
- Parameters:
description- The description of the budget to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
displayName
UpdateBudgetRequest.Builder displayName(String displayName)
The display name of the budget to update.
- Parameters:
displayName- The display name of the budget to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
farmId
UpdateBudgetRequest.Builder farmId(String farmId)
The farm ID of the budget to update.
- Parameters:
farmId- The farm ID of the budget to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
UpdateBudgetRequest.Builder schedule(BudgetSchedule schedule)
The schedule to update.
- Parameters:
schedule- The schedule to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
schedule
default UpdateBudgetRequest.Builder schedule(Consumer<BudgetSchedule.Builder> schedule)
The schedule to update.
This is a convenience method that creates an instance of theBudgetSchedule.Builderavoiding the need to create one manually viaBudgetSchedule.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toschedule(BudgetSchedule).- Parameters:
schedule- a consumer that will call methods onBudgetSchedule.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
schedule(BudgetSchedule)
-
status
UpdateBudgetRequest.Builder status(String status)
Updates the status of the budget.
-
ACTIVE–The budget is being evaluated. -
INACTIVE–The budget is inactive. This can include Expired, Canceled, or deleted Deleted statuses.
- Parameters:
status- Updates the status of the budget.-
ACTIVE–The budget is being evaluated. -
INACTIVE–The budget is inactive. This can include Expired, Canceled, or deleted Deleted statuses.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BudgetStatus,BudgetStatus
-
-
status
UpdateBudgetRequest.Builder status(BudgetStatus status)
Updates the status of the budget.
-
ACTIVE–The budget is being evaluated. -
INACTIVE–The budget is inactive. This can include Expired, Canceled, or deleted Deleted statuses.
- Parameters:
status- Updates the status of the budget.-
ACTIVE–The budget is being evaluated. -
INACTIVE–The budget is inactive. This can include Expired, Canceled, or deleted Deleted statuses.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
BudgetStatus,BudgetStatus
-
-
overrideConfiguration
UpdateBudgetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateBudgetRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-