Class CfnConfigurationSetEventDestinationPropsMixin.SnsDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ses.CfnConfigurationSetEventDestinationPropsMixin.SnsDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationSetEventDestinationPropsMixin.SnsDestinationProperty>
- Enclosing interface:
CfnConfigurationSetEventDestinationPropsMixin.SnsDestinationProperty
@Stability(Stable)
public static final class CfnConfigurationSetEventDestinationPropsMixin.SnsDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationSetEventDestinationPropsMixin.SnsDestinationProperty>
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
topicArn
@Stability(Stable) public CfnConfigurationSetEventDestinationPropsMixin.SnsDestinationProperty.Builder topicArn(String topicArn) Sets the value ofCfnConfigurationSetEventDestinationPropsMixin.SnsDestinationProperty.getTopicArn()- Parameters:
topicArn- The ARN of the Amazon SNS topic for email sending events. You can find the ARN of a topic by using the ListTopics Amazon SNS operation.For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .
- Returns:
this
-
topicArn
@Stability(Stable) public CfnConfigurationSetEventDestinationPropsMixin.SnsDestinationProperty.Builder topicArn(ITopicRef topicArn) Sets the value ofCfnConfigurationSetEventDestinationPropsMixin.SnsDestinationProperty.getTopicArn()- Parameters:
topicArn- The ARN of the Amazon SNS topic for email sending events. You can find the ARN of a topic by using the ListTopics Amazon SNS operation.For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .
- Returns:
this
-
build
@Stability(Stable) public CfnConfigurationSetEventDestinationPropsMixin.SnsDestinationProperty build()Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnConfigurationSetEventDestinationPropsMixin.SnsDestinationProperty>- Returns:
- a new instance of
CfnConfigurationSetEventDestinationPropsMixin.SnsDestinationProperty - Throws:
NullPointerException- if any required attribute was not provided
-