Interface UpdateBudgetRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateBudgetRequest.Builder,
,UpdateBudgetRequest> DeadlineRequest.Builder
,SdkBuilder<UpdateBudgetRequest.Builder,
,UpdateBudgetRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateBudgetRequest
-
Method Summary
Modifier and TypeMethodDescriptionactionsToAdd
(Collection<BudgetActionToAdd> actionsToAdd) The budget actions to add.actionsToAdd
(Consumer<BudgetActionToAdd.Builder>... actionsToAdd) The budget actions to add.actionsToAdd
(BudgetActionToAdd... actionsToAdd) The budget actions to add.actionsToRemove
(Collection<BudgetActionToRemove> actionsToRemove) The budget actions to remove from the budget.actionsToRemove
(Consumer<BudgetActionToRemove.Builder>... actionsToRemove) The budget actions to remove from the budget.actionsToRemove
(BudgetActionToRemove... actionsToRemove) The budget actions to remove from the budget.approximateDollarLimit
(Float approximateDollarLimit) The dollar limit to update on the budget.The budget ID to update.clientToken
(String clientToken) The unique token which the server uses to recognize retries of the same request.description
(String description) The description of the budget to update.displayName
(String displayName) The display name of the budget to update.The farm ID of the budget to update.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default UpdateBudgetRequest.Builder
schedule
(Consumer<BudgetSchedule.Builder> schedule) The schedule to update.schedule
(BudgetSchedule schedule) The schedule to update.Updates the status of the budget.status
(BudgetStatus status) Updates the status of the budget.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, sdkFieldNameToField, sdkFields
-
Method Details
-
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.
-
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.
-
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.
-
displayName
The display name of the budget to update.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Parameters:
displayName
- The display name of the budget to update.This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description of the budget to update.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Parameters:
description
- The description of the budget to update.This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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:
-
-
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:
-
-
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.
-
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
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
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.Builder
avoiding the need to create one manually viaBudgetActionToAdd.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactionsToAdd(List<BudgetActionToAdd>)
.- 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:
-
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
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.Builder
avoiding the need to create one manually viaBudgetActionToRemove.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactionsToRemove(List<BudgetActionToRemove>)
.- 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:
-
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
The schedule to update.
This is a convenience method that creates an instance of theBudgetSchedule.Builder
avoiding the need to create one manually viaBudgetSchedule.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
UpdateBudgetRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in 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.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-