Class SnsProps.Builder
java.lang.Object
software.amazon.awscdk.services.ses.actions.SnsProps.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.encoding
(EmailEncoding encoding) Sets the value ofSnsProps.getEncoding()
Sets the value ofSnsProps.getTopic()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
topic
Sets the value ofSnsProps.getTopic()
- Parameters:
topic
- The SNS topic to notify. This parameter is required.- Returns:
this
-
encoding
Sets the value ofSnsProps.getEncoding()
- Parameters:
encoding
- The encoding to use for the email within the Amazon SNS notification.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<SnsProps>
- Returns:
- a new instance of
SnsProps
- Throws:
NullPointerException
- if any required attribute was not provided
-