Class CfnBudgetsAction.SubscriberProperty.Builder
java.lang.Object
software.amazon.awscdk.services.budgets.CfnBudgetsAction.SubscriberProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnBudgetsAction.SubscriberProperty>
- Enclosing interface:
CfnBudgetsAction.SubscriberProperty
@Stability(Stable)
public static final class CfnBudgetsAction.SubscriberProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnBudgetsAction.SubscriberProperty>
A builder for
CfnBudgetsAction.SubscriberProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnBudgetsAction.SubscriberProperty.getAddress()build()Builds the configured instance.Sets the value ofCfnBudgetsAction.SubscriberProperty.getType()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
address
Sets the value ofCfnBudgetsAction.SubscriberProperty.getAddress()- Parameters:
address- The address that AWS sends budget notifications to, either an SNS topic or an email. This parameter is required. When you create a subscriber, the value ofAddresscan't contain line breaks.- Returns:
this
-
type
Sets the value ofCfnBudgetsAction.SubscriberProperty.getType()- Parameters:
type- The type of notification that AWS sends to a subscriber. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnBudgetsAction.SubscriberProperty>- Returns:
- a new instance of
CfnBudgetsAction.SubscriberProperty - Throws:
NullPointerException- if any required attribute was not provided
-