Class CfnConfigurationSetEventDestination.SnsDestinationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ses.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 ARN of the Amazon SNS topic for email sending events. This parameter is required. 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
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
-