Interface DescribeBudgetSpendRequest.Builder

  • Method Details

    • accountId

      The accountId that is associated with the budget.

      Parameters:
      accountId - The accountId that 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 DIMENSION entry whose key is the budget's SpendAttributions value. If you don't specify GroupBy, the response uses the budget's BudgetLimitDimensions.

      Parameters:
      groupBy - How to group the spend. You can specify no entry or one entry. To get one row for each principal, specify one DIMENSION entry whose key is the budget's SpendAttributions value. If you don't specify GroupBy, the response uses the budget's BudgetLimitDimensions.
      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 DIMENSION entry whose key is the budget's SpendAttributions value. If you don't specify GroupBy, the response uses the budget's BudgetLimitDimensions.

      Parameters:
      groupBy - How to group the spend. You can specify no entry or one entry. To get one row for each principal, specify one DIMENSION entry whose key is the budget's SpendAttributions value. If you don't specify GroupBy, the response uses the budget's BudgetLimitDimensions.
      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 DIMENSION entry whose key is the budget's SpendAttributions value. If you don't specify GroupBy, the response uses the budget's BudgetLimitDimensions.

      This is a convenience method that creates an instance of the GroupDefinition.Builder avoiding the need to create one manually via GroupDefinition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to groupBy(List<GroupDefinition>).

      Parameters:
      groupBy - a consumer that will call methods on GroupDefinition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • filterExpression

      DescribeBudgetSpendRequest.Builder filterExpression(Expression filterExpression)

      The principals to return spend for. Specify one Dimensions clause whose key is the budget's SpendAttributions value, with the EQUALS match option and 1 to 20 principal IDs. If you don't specify FilterExpression, Amazon Web Services Budgets returns spend for every principal that has spend in the budget.

      Parameters:
      filterExpression - The principals to return spend for. Specify one Dimensions clause whose key is the budget's SpendAttributions value, with the EQUALS match option and 1 to 20 principal IDs. If you don't specify FilterExpression, 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 Dimensions clause whose key is the budget's SpendAttributions value, with the EQUALS match option and 1 to 20 principal IDs. If you don't specify FilterExpression, Amazon Web Services Budgets returns spend for every principal that has spend in the budget.

      This is a convenience method that creates an instance of the Expression.Builder avoiding the need to create one manually via Expression.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to filterExpression(Expression).

      Parameters:
      filterExpression - a consumer that will call methods on Expression.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 specify MaxResults, 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.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.