Interface DescribeBudgetSpendResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,BudgetsResponse.Builder,Buildable,CopyableBuilder<DescribeBudgetSpendResponse.Builder,,DescribeBudgetSpendResponse> SdkBuilder<DescribeBudgetSpendResponse.Builder,,DescribeBudgetSpendResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeBudgetSpendResponse
-
Method Summary
Modifier and TypeMethodDescriptionbudgetLimit(Consumer<Spend.Builder> budgetLimit) The budget limit of the budget.budgetLimit(Spend budgetLimit) The budget limit of the budget.budgetLimitDimensions(Collection<BudgetLimitDimension> budgetLimitDimensions) The dimension that the budget limit applies to.budgetLimitDimensions(Consumer<BudgetLimitDimension.Builder>... budgetLimitDimensions) The dimension that the budget limit applies to.budgetLimitDimensions(BudgetLimitDimension... budgetLimitDimensions) The dimension that the budget limit applies to.groupDefinitions(Collection<GroupDefinition> groupDefinitions) The grouping that the response uses.groupDefinitions(Consumer<GroupDefinition.Builder>... groupDefinitions) The grouping that the response uses.groupDefinitions(GroupDefinition... groupDefinitions) The grouping that the response uses.lastUpdatedTime(Instant lastUpdatedTime) The time when Amazon Web Services Budgets last updated the spend for the current period.The pagination token in the service response that indicates the next set of results that you can retrieve.spendByGroup(Collection<SpendGroup> spendByGroup) The rows of spend for the current period.spendByGroup(Consumer<SpendGroup.Builder>... spendByGroup) The rows of spend for the current period.spendByGroup(SpendGroup... spendByGroup) The rows of spend for the current period.timePeriod(Consumer<TimePeriod.Builder> timePeriod) The current period of the budget.timePeriod(TimePeriod timePeriod) The current period of the 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
-
budgetLimit
The budget limit of the budget.
- Parameters:
budgetLimit- The budget limit of the budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
budgetLimit
The budget limit of the budget.
This is a convenience method that creates an instance of theSpend.Builderavoiding the need to create one manually viaSpend.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobudgetLimit(Spend).- Parameters:
budgetLimit- a consumer that will call methods onSpend.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
budgetLimitDimensions
DescribeBudgetSpendResponse.Builder budgetLimitDimensions(Collection<BudgetLimitDimension> budgetLimitDimensions) The dimension that the budget limit applies to. With this value and
BudgetLimit, you can tell whether a row is a principal's own limit or a share of a limit for all principals.- Parameters:
budgetLimitDimensions- The dimension that the budget limit applies to. With this value andBudgetLimit, you can tell whether a row is a principal's own limit or a share of a limit for all principals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
budgetLimitDimensions
DescribeBudgetSpendResponse.Builder budgetLimitDimensions(BudgetLimitDimension... budgetLimitDimensions) The dimension that the budget limit applies to. With this value and
BudgetLimit, you can tell whether a row is a principal's own limit or a share of a limit for all principals.- Parameters:
budgetLimitDimensions- The dimension that the budget limit applies to. With this value andBudgetLimit, you can tell whether a row is a principal's own limit or a share of a limit for all principals.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
budgetLimitDimensions
DescribeBudgetSpendResponse.Builder budgetLimitDimensions(Consumer<BudgetLimitDimension.Builder>... budgetLimitDimensions) The dimension that the budget limit applies to. With this value and
This is a convenience method that creates an instance of theBudgetLimit, you can tell whether a row is a principal's own limit or a share of a limit for all principals.BudgetLimitDimension.Builderavoiding the need to create one manually viaBudgetLimitDimension.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tobudgetLimitDimensions(List<BudgetLimitDimension>).- Parameters:
budgetLimitDimensions- a consumer that will call methods onBudgetLimitDimension.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
groupDefinitions
The grouping that the response uses. The
Keysof each row inSpendByGroupfollow this order.- Parameters:
groupDefinitions- The grouping that the response uses. TheKeysof each row inSpendByGroupfollow this order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupDefinitions
The grouping that the response uses. The
Keysof each row inSpendByGroupfollow this order.- Parameters:
groupDefinitions- The grouping that the response uses. TheKeysof each row inSpendByGroupfollow this order.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupDefinitions
DescribeBudgetSpendResponse.Builder groupDefinitions(Consumer<GroupDefinition.Builder>... groupDefinitions) The grouping that the response uses. The
This is a convenience method that creates an instance of theKeysof each row inSpendByGroupfollow this order.GroupDefinition.Builderavoiding the need to create one manually viaGroupDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed togroupDefinitions(List<GroupDefinition>).- Parameters:
groupDefinitions- 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:
-
spendByGroup
The rows of spend for the current period.
- Parameters:
spendByGroup- The rows of spend for the current period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spendByGroup
The rows of spend for the current period.
- Parameters:
spendByGroup- The rows of spend for the current period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
spendByGroup
The rows of spend for the current period.
This is a convenience method that creates an instance of theSpendGroup.Builderavoiding the need to create one manually viaSpendGroup.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tospendByGroup(List<SpendGroup>).- Parameters:
spendByGroup- a consumer that will call methods onSpendGroup.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
timePeriod
The current period of the budget.
- Parameters:
timePeriod- The current period of the budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timePeriod
The current period of the budget.
This is a convenience method that creates an instance of theTimePeriod.Builderavoiding the need to create one manually viaTimePeriod.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimePeriod(TimePeriod).- Parameters:
timePeriod- a consumer that will call methods onTimePeriod.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastUpdatedTime
The time when Amazon Web Services Budgets last updated the spend for the current period.
- Parameters:
lastUpdatedTime- The time when Amazon Web Services Budgets last updated the spend for the current period.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
-