Interface DescribeBudgetActionResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BudgetsResponse.Builder
,Buildable
,CopyableBuilder<DescribeBudgetActionResponse.Builder,
,DescribeBudgetActionResponse> SdkBuilder<DescribeBudgetActionResponse.Builder,
,DescribeBudgetActionResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeBudgetActionResponse
public static interface DescribeBudgetActionResponse.Builder
extends BudgetsResponse.Builder, SdkPojo, CopyableBuilder<DescribeBudgetActionResponse.Builder,DescribeBudgetActionResponse>
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the AccountId property for this object.action
(Consumer<Action.Builder> action) A budget action resource.A budget action resource.budgetName
(String budgetName) Sets the value of the BudgetName property for this object.Methods inherited from interface software.amazon.awssdk.services.budgets.model.BudgetsResponse.Builder
build, responseMetadata, responseMetadata
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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
accountId
Sets the value of the AccountId property for this object.- Parameters:
accountId
- The new value for the AccountId property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
budgetName
Sets the value of the BudgetName property for this object.- Parameters:
budgetName
- The new value for the BudgetName property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
A budget action resource.
- Parameters:
action
- A budget action resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
action
A budget action resource.
This is a convenience method that creates an instance of theAction.Builder
avoiding the need to create one manually viaAction.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaction(Action)
.- Parameters:
action
- a consumer that will call methods onAction.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-