Class CfnConfigurationSetEventDestination.SnsDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pinpointemail.CfnConfigurationSetEventDestination.SnsDestinationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnConfigurationSetEventDestination.SnsDestinationProperty>
- Enclosing interface:
- CfnConfigurationSetEventDestination.SnsDestinationProperty
@Stability(Stable)
public static final class CfnConfigurationSetEventDestination.SnsDestinationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnConfigurationSetEventDestination.SnsDestinationProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnConfigurationSetEventDestination.SnsDestinationProperty.getTopicArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
topicArn
@Stability(Stable) public CfnConfigurationSetEventDestination.SnsDestinationProperty.Builder topicArn(String topicArn) Sets the value ofCfnConfigurationSetEventDestination.SnsDestinationProperty.getTopicArn()
- Parameters:
topicArn
- The Amazon Resource Name (ARN) of the Amazon SNS topic that you want to publish email events to. This parameter is required. For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnConfigurationSetEventDestination.SnsDestinationProperty>
- Returns:
- a new instance of
CfnConfigurationSetEventDestination.SnsDestinationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-