public static final class CfnReceiptRule.SNSActionProperty.Builder
extends java.lang.Object
CfnReceiptRule.SNSActionProperty
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnReceiptRule.SNSActionProperty |
build()
Builds the configured instance.
|
CfnReceiptRule.SNSActionProperty.Builder |
encoding(java.lang.String encoding)
Sets the value of
CfnReceiptRule.SNSActionProperty.getEncoding() |
CfnReceiptRule.SNSActionProperty.Builder |
topicArn(java.lang.String topicArn)
Sets the value of
CfnReceiptRule.SNSActionProperty.getTopicArn() |
public CfnReceiptRule.SNSActionProperty.Builder encoding(java.lang.String encoding)
CfnReceiptRule.SNSActionProperty.getEncoding()
encoding
- The encoding to use for the email within the Amazon SNS notification.
UTF-8 is easier to use, but may not preserve all special characters when a message was encoded with a different encoding format. Base64 preserves all special characters. The default value is UTF-8.this
public CfnReceiptRule.SNSActionProperty.Builder topicArn(java.lang.String topicArn)
CfnReceiptRule.SNSActionProperty.getTopicArn()
topicArn
- The Amazon Resource Name (ARN) of the Amazon SNS topic to notify.
You can find the ARN of a topic by using the ListTopics operation in Amazon SNS.
For more information about Amazon SNS topics, see the Amazon SNS Developer Guide .
this
public CfnReceiptRule.SNSActionProperty build()
CfnReceiptRule.SNSActionProperty
java.lang.NullPointerException
- if any required attribute was not provided