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