Class CfnBudgetPropsMixin.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.budgets.CfnBudgetPropsMixin.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBudgetPropsMixin>
- Enclosing class:
CfnBudgetPropsMixin
@Stability(Stable)
public static final class CfnBudgetPropsMixin.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBudgetPropsMixin>
A fluent builder for
CfnBudgetPropsMixin.-
Method Summary
Modifier and TypeMethodDescriptionThe budget object that you want to create.budget(IResolvable budget) The budget object that you want to create.build()static CfnBudgetPropsMixin.Buildercreate()static CfnBudgetPropsMixin.Buildercreate(CfnPropertyMixinOptions options) 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 CfnBudgetPropsMixin.Builder create(CfnPropertyMixinOptions options) - Parameters:
options- Mixin options.- Returns:
- a new instance of
CfnBudgetPropsMixin.Builder.
-
create
- Returns:
- a new instance of
CfnBudgetPropsMixin.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
@Stability(Stable) public CfnBudgetPropsMixin.Builder budget(CfnBudgetPropsMixin.BudgetDataProperty 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 CfnBudgetPropsMixin.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
CreateBudgetcall, 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 CfnBudgetPropsMixin.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
CreateBudgetcall, 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
@Stability(Stable) public CfnBudgetPropsMixin.Builder resourceTags(List<? extends Object> 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
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBudgetPropsMixin>- Returns:
- a newly built instance of
CfnBudgetPropsMixin.
-