Class CfnConfigurationSetEventDestinationPropsMixin.SnsDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.pinpointemail.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 Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish email events to. 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
-