Interface BudgetSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<BudgetSummary.Builder,
,BudgetSummary> SdkBuilder<BudgetSummary.Builder,
,BudgetSummary> SdkPojo
- Enclosing class:
BudgetSummary
-
Method Summary
Modifier and TypeMethodDescriptionapproximateDollarLimit
(Float approximateDollarLimit) The approximate dollar limit of the budget.The budget ID.The date and time the resource was created.The user or system that created this resource.description
(String description) Deprecated.ListBudgets no longer supports description.displayName
(String displayName) The display name of the budget summary to update.The status of the budget.status
(BudgetStatus status) The status of the budget.The date and time the resource was updated.The user or system that updated this resource.default BudgetSummary.Builder
usages
(Consumer<ConsumedUsages.Builder> usages) The consumed usage for the budget.usages
(ConsumedUsages usages) The consumed usage for the budget.default BudgetSummary.Builder
usageTrackingResource
(Consumer<UsageTrackingResource.Builder> usageTrackingResource) The resource used to track expenditure in the budget.usageTrackingResource
(UsageTrackingResource usageTrackingResource) The resource used to track expenditure in the budget.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, sdkFieldNameToField, sdkFields
-
Method Details
-
budgetId
The budget ID.
- Parameters:
budgetId
- The budget ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageTrackingResource
The resource used to track expenditure in the budget.
- Parameters:
usageTrackingResource
- The resource used to track expenditure in the budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usageTrackingResource
default BudgetSummary.Builder usageTrackingResource(Consumer<UsageTrackingResource.Builder> usageTrackingResource) The resource used to track expenditure in the budget.
This is a convenience method that creates an instance of theUsageTrackingResource.Builder
avoiding the need to create one manually viaUsageTrackingResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tousageTrackingResource(UsageTrackingResource)
.- Parameters:
usageTrackingResource
- a consumer that will call methods onUsageTrackingResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
status
The status of the budget.
-
ACTIVE
–The budget is being evaluated. -
INACTIVE
–The budget is inactive. This can include Expired, Canceled, or deleted Deleted statuses.
- Parameters:
status
- The status of the budget.-
ACTIVE
–The budget is being evaluated. -
INACTIVE
–The budget is inactive. This can include Expired, Canceled, or deleted Deleted statuses.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
status
The status of the budget.
-
ACTIVE
–The budget is being evaluated. -
INACTIVE
–The budget is inactive. This can include Expired, Canceled, or deleted Deleted statuses.
- Parameters:
status
- The status of the budget.-
ACTIVE
–The budget is being evaluated. -
INACTIVE
–The budget is inactive. This can include Expired, Canceled, or deleted Deleted statuses.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
displayName
The display name of the budget summary to update.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Parameters:
displayName
- The display name of the budget summary to update.This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
Deprecated.ListBudgets no longer supports description. Use GetBudget if description is needed.The description of the budget summary.
This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Parameters:
description
- The description of the budget summary.This field can store any content. Escape or encode this content before displaying it on a webpage or any other system that might interpret the content of this field.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
approximateDollarLimit
The approximate dollar limit of the budget.
- Parameters:
approximateDollarLimit
- The approximate dollar limit of the budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usages
The consumed usage for the budget.
- Parameters:
usages
- The consumed usage for the budget.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
usages
The consumed usage for the budget.
This is a convenience method that creates an instance of theConsumedUsages.Builder
avoiding the need to create one manually viaConsumedUsages.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tousages(ConsumedUsages)
.- Parameters:
usages
- a consumer that will call methods onConsumedUsages.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdBy
The user or system that created this resource.
- Parameters:
createdBy
- The user or system that created this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
The date and time the resource was created.
- Parameters:
createdAt
- The date and time the resource was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedBy
The user or system that updated this resource.
- Parameters:
updatedBy
- The user or system that updated this resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
The date and time the resource was updated.
- Parameters:
updatedAt
- The date and time the resource was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-