Class CfnBudget.NotificationWithSubscribersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.budgets.CfnBudget.NotificationWithSubscribersProperty.Builder
- All Implemented Interfaces:
 software.amazon.jsii.Builder<CfnBudget.NotificationWithSubscribersProperty>
- Enclosing interface:
 - CfnBudget.NotificationWithSubscribersProperty
 
@Stability(Stable)
public static final class CfnBudget.NotificationWithSubscribersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBudget.NotificationWithSubscribersProperty>
A builder for 
CfnBudget.NotificationWithSubscribersProperty- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.notification(IResolvable notification) Sets the value ofCfnBudget.NotificationWithSubscribersProperty.getNotification()notification(CfnBudget.NotificationProperty notification) Sets the value ofCfnBudget.NotificationWithSubscribersProperty.getNotification()subscribers(List<? extends Object> subscribers) Sets the value ofCfnBudget.NotificationWithSubscribersProperty.getSubscribers()subscribers(IResolvable subscribers) Sets the value ofCfnBudget.NotificationWithSubscribersProperty.getSubscribers() 
- 
Constructor Details
- 
Builder
public Builder() 
 - 
 - 
Method Details
- 
notification
@Stability(Stable) public CfnBudget.NotificationWithSubscribersProperty.Builder notification(IResolvable notification) Sets the value ofCfnBudget.NotificationWithSubscribersProperty.getNotification()- Parameters:
 notification- The notification that's associated with a budget. This parameter is required.- Returns:
 this
 - 
notification
@Stability(Stable) public CfnBudget.NotificationWithSubscribersProperty.Builder notification(CfnBudget.NotificationProperty notification) Sets the value ofCfnBudget.NotificationWithSubscribersProperty.getNotification()- Parameters:
 notification- The notification that's associated with a budget. This parameter is required.- Returns:
 this
 - 
subscribers
@Stability(Stable) public CfnBudget.NotificationWithSubscribersProperty.Builder subscribers(IResolvable subscribers) Sets the value ofCfnBudget.NotificationWithSubscribersProperty.getSubscribers()- Parameters:
 subscribers- A list of subscribers who are subscribed to this notification. This parameter is required.- Returns:
 this
 - 
subscribers
@Stability(Stable) public CfnBudget.NotificationWithSubscribersProperty.Builder subscribers(List<? extends Object> subscribers) Sets the value ofCfnBudget.NotificationWithSubscribersProperty.getSubscribers()- Parameters:
 subscribers- A list of subscribers who are subscribed to this notification. This parameter is required.- Returns:
 this
 - 
build
Builds the configured instance.- Specified by:
 buildin interfacesoftware.amazon.jsii.Builder<CfnBudget.NotificationWithSubscribersProperty>- Returns:
 - a new instance of 
CfnBudget.NotificationWithSubscribersProperty - Throws:
 NullPointerException- if any required attribute was not provided
 
 -