Class CfnBudget.Builder
java.lang.Object
software.amazon.awscdk.services.budgets.CfnBudget.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBudget>
- Enclosing class:
CfnBudget
@Stability(Stable)
public static final class CfnBudget.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBudget>
A fluent builder for
CfnBudget
.-
Method Summary
Modifier and TypeMethodDescriptionbudget
(IResolvable budget) The budget object that you want to create.budget
(CfnBudget.BudgetDataProperty budget) The budget object that you want to create.build()
static CfnBudget.Builder
notificationsWithSubscribers
(List<? extends Object> notificationsWithSubscribers) A notification that you want to associate with a budget.notificationsWithSubscribers
(IResolvable notificationsWithSubscribers) A notification that you want to associate with a budget.resourceTags
(List<? extends Object> resourceTags) An optional list of tags to associate with the specified budget.resourceTags
(IResolvable resourceTags) An optional list of tags to associate with the specified budget.
-
Method Details
-
create
@Stability(Stable) public static CfnBudget.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnBudget.Builder
.
-
budget
The budget object that you want to create.- Parameters:
budget
- The budget object that you want to create. This parameter is required.- Returns:
this
- See Also:
-
budget
The budget object that you want to create.- Parameters:
budget
- The budget object that you want to create. This parameter is required.- Returns:
this
- See Also:
-
notificationsWithSubscribers
@Stability(Stable) public CfnBudget.Builder notificationsWithSubscribers(IResolvable notificationsWithSubscribers) A notification that you want to associate with a budget.A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in your
CreateBudget
call, AWS creates the notifications and subscribers for you.- Parameters:
notificationsWithSubscribers
- A notification that you want to associate with a budget. This parameter is required.- Returns:
this
- See Also:
-
notificationsWithSubscribers
@Stability(Stable) public CfnBudget.Builder notificationsWithSubscribers(List<? extends Object> notificationsWithSubscribers) A notification that you want to associate with a budget.A budget can have up to five notifications, and each notification can have one SNS subscriber and up to 10 email subscribers. If you include notifications and subscribers in your
CreateBudget
call, AWS creates the notifications and subscribers for you.- Parameters:
notificationsWithSubscribers
- A notification that you want to associate with a budget. This parameter is required.- Returns:
this
- See Also:
-
resourceTags
An optional list of tags to associate with the specified budget.Each tag consists of a key and a value, and each key must be unique for the resource.
- Parameters:
resourceTags
- An optional list of tags to associate with the specified budget. This parameter is required.- Returns:
this
- See Also:
-
resourceTags
An optional list of tags to associate with the specified budget.Each tag consists of a key and a value, and each key must be unique for the resource.
- Parameters:
resourceTags
- An optional list of tags to associate with the specified budget. This parameter is required.- Returns:
this
- See Also:
-
build
-