Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SnsProps |
build()
Builds the configured instance.
|
SnsProps.Builder |
encoding(EmailEncoding encoding)
Sets the value of
SnsProps.getEncoding() |
SnsProps.Builder |
topic(ITopic topic)
Sets the value of
SnsProps.getTopic() |
@Stability(value=Experimental) public SnsProps.Builder topic(ITopic topic)
SnsProps.getTopic()
topic
- The SNS topic to notify. This parameter is required.this
@Stability(value=Experimental) public SnsProps.Builder encoding(EmailEncoding encoding)
SnsProps.getEncoding()
encoding
- The encoding to use for the email within the Amazon SNS notification.this
@Stability(value=Experimental) public SnsProps build()
build
in interface software.amazon.jsii.Builder<SnsProps>
SnsProps
NullPointerException
- if any required attribute was not providedCopyright © 2021. All rights reserved.