public static final class SNSActionConfig.Builder
extends java.lang.Object
SNSActionConfig
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SNSActionConfig |
build()
Builds the configured instance.
|
SNSActionConfig.Builder |
encoding(java.lang.String encoding)
Sets the value of
SNSActionConfig.getEncoding() |
SNSActionConfig.Builder |
topicArn(java.lang.String topicArn)
Sets the value of
SNSActionConfig.getTopicArn() |
public SNSActionConfig.Builder encoding(java.lang.String encoding)
SNSActionConfig.getEncoding()
encoding
- The encoding to use for the email within the Amazon SNS notification.this
public SNSActionConfig.Builder topicArn(java.lang.String topicArn)
SNSActionConfig.getTopicArn()
topicArn
- The Amazon Resource Name (ARN) of the Amazon SNS topic to notify.this
public SNSActionConfig build()
SNSActionConfig
java.lang.NullPointerException
- if any required attribute was not provided