public static final class CfnBudget.SubscriberProperty.Builder
extends java.lang.Object
CfnBudget.SubscriberProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnBudget.SubscriberProperty.Builder |
address(java.lang.String address)
Sets the value of
CfnBudget.SubscriberProperty.getAddress() |
CfnBudget.SubscriberProperty |
build()
Builds the configured instance.
|
CfnBudget.SubscriberProperty.Builder |
subscriptionType(java.lang.String subscriptionType)
Sets the value of
CfnBudget.SubscriberProperty.getSubscriptionType() |
public CfnBudget.SubscriberProperty.Builder address(java.lang.String address)
CfnBudget.SubscriberProperty.getAddress()
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 of Address
can't contain line breaks.this
public CfnBudget.SubscriberProperty.Builder subscriptionType(java.lang.String subscriptionType)
CfnBudget.SubscriberProperty.getSubscriptionType()
subscriptionType
- The type of notification that AWS sends to a subscriber. This parameter is required.this
public CfnBudget.SubscriberProperty build()
CfnBudget.SubscriberProperty
java.lang.NullPointerException
- if any required attribute was not provided