Class CfnBudgetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.budgets.CfnBudgetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBudgetMixinProps>
- Enclosing interface:
CfnBudgetMixinProps
@Stability(Stable)
public static final class CfnBudgetMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBudgetMixinProps>
A builder for
CfnBudgetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnBudgetMixinProps.getBudget()budget(IResolvable budget) Sets the value ofCfnBudgetMixinProps.getBudget()build()Builds the configured instance.notificationsWithSubscribers(List<? extends Object> notificationsWithSubscribers) Sets the value ofCfnBudgetMixinProps.getNotificationsWithSubscribers()notificationsWithSubscribers(IResolvable notificationsWithSubscribers) Sets the value ofCfnBudgetMixinProps.getNotificationsWithSubscribers()resourceTags(List<? extends Object> resourceTags) Sets the value ofCfnBudgetMixinProps.getResourceTags()resourceTags(IResolvable resourceTags) Sets the value ofCfnBudgetMixinProps.getResourceTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
budget
Sets the value ofCfnBudgetMixinProps.getBudget()- Parameters:
budget- The budget object that you want to create.- Returns:
this
-
budget
@Stability(Stable) public CfnBudgetMixinProps.Builder budget(CfnBudgetPropsMixin.BudgetDataProperty budget) Sets the value ofCfnBudgetMixinProps.getBudget()- Parameters:
budget- The budget object that you want to create.- Returns:
this
-
notificationsWithSubscribers
@Stability(Stable) public CfnBudgetMixinProps.Builder notificationsWithSubscribers(IResolvable notificationsWithSubscribers) Sets the value ofCfnBudgetMixinProps.getNotificationsWithSubscribers()- Parameters:
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 yourCreateBudgetcall, AWS creates the notifications and subscribers for you.- Returns:
this
-
notificationsWithSubscribers
@Stability(Stable) public CfnBudgetMixinProps.Builder notificationsWithSubscribers(List<? extends Object> notificationsWithSubscribers) Sets the value ofCfnBudgetMixinProps.getNotificationsWithSubscribers()- Parameters:
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 yourCreateBudgetcall, AWS creates the notifications and subscribers for you.- Returns:
this
-
resourceTags
Sets the value ofCfnBudgetMixinProps.getResourceTags()- Parameters:
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.- Returns:
this
-
resourceTags
@Stability(Stable) public CfnBudgetMixinProps.Builder resourceTags(List<? extends Object> resourceTags) Sets the value ofCfnBudgetMixinProps.getResourceTags()- Parameters:
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.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBudgetMixinProps>- Returns:
- a new instance of
CfnBudgetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-