public static final class CfnBudget.NotificationWithSubscribersProperty.Builder
extends java.lang.Object
CfnBudget.NotificationWithSubscribersProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnBudget.NotificationWithSubscribersProperty |
build()
Builds the configured instance.
|
CfnBudget.NotificationWithSubscribersProperty.Builder |
notification(CfnBudget.NotificationProperty notification)
Sets the value of
CfnBudget.NotificationWithSubscribersProperty.getNotification() |
CfnBudget.NotificationWithSubscribersProperty.Builder |
notification(IResolvable notification)
Sets the value of
CfnBudget.NotificationWithSubscribersProperty.getNotification() |
CfnBudget.NotificationWithSubscribersProperty.Builder |
subscribers(IResolvable subscribers)
Sets the value of
CfnBudget.NotificationWithSubscribersProperty.getSubscribers() |
CfnBudget.NotificationWithSubscribersProperty.Builder |
subscribers(java.util.List<? extends java.lang.Object> subscribers)
Sets the value of
CfnBudget.NotificationWithSubscribersProperty.getSubscribers() |
public CfnBudget.NotificationWithSubscribersProperty.Builder notification(IResolvable notification)
CfnBudget.NotificationWithSubscribersProperty.getNotification()
notification
- The notification that's associated with a budget. This parameter is required.this
public CfnBudget.NotificationWithSubscribersProperty.Builder notification(CfnBudget.NotificationProperty notification)
CfnBudget.NotificationWithSubscribersProperty.getNotification()
notification
- The notification that's associated with a budget. This parameter is required.this
public CfnBudget.NotificationWithSubscribersProperty.Builder subscribers(IResolvable subscribers)
CfnBudget.NotificationWithSubscribersProperty.getSubscribers()
subscribers
- A list of subscribers who are subscribed to this notification. This parameter is required.this
public CfnBudget.NotificationWithSubscribersProperty.Builder subscribers(java.util.List<? extends java.lang.Object> subscribers)
CfnBudget.NotificationWithSubscribersProperty.getSubscribers()
subscribers
- A list of subscribers who are subscribed to this notification. This parameter is required.this
public CfnBudget.NotificationWithSubscribersProperty build()
CfnBudget.NotificationWithSubscribersProperty
java.lang.NullPointerException
- if any required attribute was not provided