Interface DescribeBudgetSpendForPrincipalResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BudgetsResponse.Builder,Buildable,CopyableBuilder<DescribeBudgetSpendForPrincipalResponse.Builder,,DescribeBudgetSpendForPrincipalResponse> SdkBuilder<DescribeBudgetSpendForPrincipalResponse.Builder,,DescribeBudgetSpendForPrincipalResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeBudgetSpendForPrincipalResponse
@Mutable
@NotThreadSafe
public static interface DescribeBudgetSpendForPrincipalResponse.Builder
extends BudgetsResponse.Builder, SdkPojo, CopyableBuilder<DescribeBudgetSpendForPrincipalResponse.Builder,DescribeBudgetSpendForPrincipalResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe pagination token in the service response that indicates the next set of results that you can retrieve.spendByBudget(Collection<PerBudgetSpendItem> spendByBudget) The principal's spend in each budget.spendByBudget(Consumer<PerBudgetSpendItem.Builder>... spendByBudget) The principal's spend in each budget.spendByBudget(PerBudgetSpendItem... spendByBudget) The principal's spend in each budget.Methods inherited from interface software.amazon.awssdk.services.budgets.model.BudgetsResponse.Builder
build, responseMetadata, responseMetadataMethods 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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
spendByBudget
DescribeBudgetSpendForPrincipalResponse.Builder spendByBudget(Collection<PerBudgetSpendItem> spendByBudget) The principal's spend in each budget. Each item has the budget's own current period.
- Parameters:
spendByBudget- The principal's spend in each budget. Each item has the budget's own current period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spendByBudget
The principal's spend in each budget. Each item has the budget's own current period.
- Parameters:
spendByBudget- The principal's spend in each budget. Each item has the budget's own current period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spendByBudget
DescribeBudgetSpendForPrincipalResponse.Builder spendByBudget(Consumer<PerBudgetSpendItem.Builder>... spendByBudget) The principal's spend in each budget. Each item has the budget's own current period.
This is a convenience method that creates an instance of thePerBudgetSpendItem.Builderavoiding the need to create one manually viaPerBudgetSpendItem.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospendByBudget(List<PerBudgetSpendItem>).- Parameters:
spendByBudget- a consumer that will call methods onPerBudgetSpendItem.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The pagination token in the service response that indicates the next set of results that you can retrieve.
- Parameters:
nextToken- The pagination token in the service response that indicates the next set of results that you can retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-