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