Interface DescribeBudgetSpendRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BudgetsRequest.Builder,Buildable,CopyableBuilder<DescribeBudgetSpendRequest.Builder,,DescribeBudgetSpendRequest> SdkBuilder<DescribeBudgetSpendRequest.Builder,,DescribeBudgetSpendRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
DescribeBudgetSpendRequest
-
Method Summary
Modifier and TypeMethodDescriptionTheaccountIdthat is associated with the budget.budgetName(String budgetName) The name of the budget whose spend you want to describe.filterExpression(Consumer<Expression.Builder> filterExpression) The principals to return spend for.filterExpression(Expression filterExpression) The principals to return spend for.groupBy(Collection<GroupDefinition> groupBy) How to group the spend.groupBy(Consumer<GroupDefinition.Builder>... groupBy) How to group the spend.groupBy(GroupDefinition... groupBy) How to group the spend.maxResults(Integer maxResults) The maximum number of results to return in one page.The pagination token that you include in your request to indicate the next set of results that you want to retrieve.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.- Parameters:
accountId- TheaccountIdthat is associated with the budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
budgetName
The name of the budget whose spend you want to describe.
- Parameters:
budgetName- The name of the budget whose spend you want to describe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupBy
How to group the spend. You can specify no entry or one entry. To get one row for each principal, specify one
DIMENSIONentry whose key is the budget'sSpendAttributionsvalue. If you don't specifyGroupBy, the response uses the budget'sBudgetLimitDimensions.- Parameters:
groupBy- How to group the spend. You can specify no entry or one entry. To get one row for each principal, specify oneDIMENSIONentry whose key is the budget'sSpendAttributionsvalue. If you don't specifyGroupBy, the response uses the budget'sBudgetLimitDimensions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupBy
How to group the spend. You can specify no entry or one entry. To get one row for each principal, specify one
DIMENSIONentry whose key is the budget'sSpendAttributionsvalue. If you don't specifyGroupBy, the response uses the budget'sBudgetLimitDimensions.- Parameters:
groupBy- How to group the spend. You can specify no entry or one entry. To get one row for each principal, specify oneDIMENSIONentry whose key is the budget'sSpendAttributionsvalue. If you don't specifyGroupBy, the response uses the budget'sBudgetLimitDimensions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupBy
How to group the spend. You can specify no entry or one entry. To get one row for each principal, specify one
This is a convenience method that creates an instance of theDIMENSIONentry whose key is the budget'sSpendAttributionsvalue. If you don't specifyGroupBy, the response uses the budget'sBudgetLimitDimensions.GroupDefinition.Builderavoiding the need to create one manually viaGroupDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroupBy(List<GroupDefinition>).- Parameters:
groupBy- a consumer that will call methods onGroupDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filterExpression
The principals to return spend for. Specify one
Dimensionsclause whose key is the budget'sSpendAttributionsvalue, with theEQUALSmatch option and 1 to 20 principal IDs. If you don't specifyFilterExpression, Amazon Web Services Budgets returns spend for every principal that has spend in the budget.- Parameters:
filterExpression- The principals to return spend for. Specify oneDimensionsclause whose key is the budget'sSpendAttributionsvalue, with theEQUALSmatch option and 1 to 20 principal IDs. If you don't specifyFilterExpression, Amazon Web Services Budgets returns spend for every principal that has spend in the budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
filterExpression
default DescribeBudgetSpendRequest.Builder filterExpression(Consumer<Expression.Builder> filterExpression) The principals to return spend for. Specify one
This is a convenience method that creates an instance of theDimensionsclause whose key is the budget'sSpendAttributionsvalue, with theEQUALSmatch option and 1 to 20 principal IDs. If you don't specifyFilterExpression, Amazon Web Services Budgets returns spend for every principal that has spend in the budget.Expression.Builderavoiding the need to create one manually viaExpression.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tofilterExpression(Expression).- Parameters:
filterExpression- a consumer that will call methods onExpression.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxResults
The maximum number of results to return in one page. Valid range is 1 to 1000. If you don't specify
MaxResults, the default is 100.- Parameters:
maxResults- The maximum number of results to return in one page. Valid range is 1 to 1000. If you don't specifyMaxResults, the default is 100.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextToken
The pagination token that you include in your request to indicate the next set of results that you want to retrieve.
- Parameters:
nextToken- The pagination token that you include in your request to indicate the next set of results that you want to retrieve.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
DescribeBudgetSpendRequest.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
DescribeBudgetSpendRequest.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.
-