Class SNSActionConfig.Builder
java.lang.Object
software.amazon.awscdk.services.ses.SNSActionConfig.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SNSActionConfig>
- Enclosing interface:
- SNSActionConfig
@Stability(Stable)
public static final class SNSActionConfig.Builder
extends Object
implements software.amazon.jsii.Builder<SNSActionConfig>
A builder for
SNSActionConfig-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofSNSActionConfig.getEncoding()Sets the value ofSNSActionConfig.getTopicArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
encoding
Sets the value ofSNSActionConfig.getEncoding()- Parameters:
encoding- The encoding to use for the email within the Amazon SNS notification.- Returns:
this
-
topicArn
Sets the value ofSNSActionConfig.getTopicArn()- Parameters:
topicArn- The Amazon Resource Name (ARN) of the Amazon SNS topic to notify.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<SNSActionConfig>- Returns:
- a new instance of
SNSActionConfig - Throws:
NullPointerException- if any required attribute was not provided
-