Class Sns.Builder
java.lang.Object
software.amazon.awscdk.services.ses.actions.Sns.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<Sns>
- Enclosing class:
- Sns
@Stability(Stable)
public static final class Sns.Builder
extends Object
implements software.amazon.jsii.Builder<Sns>
A fluent builder for
Sns
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static Sns.Builder
create()
encoding
(EmailEncoding encoding) The encoding to use for the email within the Amazon SNS notification.The SNS topic to notify.
-
Method Details
-
create
- Returns:
- a new instance of
Sns.Builder
.
-
topic
The SNS topic to notify.- Parameters:
topic
- The SNS topic to notify. This parameter is required.- Returns:
this
-
encoding
The encoding to use for the email within the Amazon SNS notification.Default: UTF-8
- Parameters:
encoding
- The encoding to use for the email within the Amazon SNS notification. This parameter is required.- Returns:
this
-
build
-