@Stability(value=Experimental) public static final class TopicProps.Builder extends Object implements software.amazon.jsii.Builder<TopicProps>
TopicProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
TopicProps |
build()
Builds the configured instance.
|
TopicProps.Builder |
contentBasedDeduplication(Boolean contentBasedDeduplication)
Sets the value of
TopicProps.getContentBasedDeduplication() |
TopicProps.Builder |
displayName(String displayName)
Sets the value of
TopicProps.getDisplayName() |
TopicProps.Builder |
fifo(Boolean fifo)
Sets the value of
TopicProps.getFifo() |
TopicProps.Builder |
masterKey(IKey masterKey)
Sets the value of
TopicProps.getMasterKey() |
TopicProps.Builder |
topicName(String topicName)
Sets the value of
TopicProps.getTopicName() |
@Stability(value=Experimental) public TopicProps.Builder contentBasedDeduplication(Boolean contentBasedDeduplication)
TopicProps.getContentBasedDeduplication()contentBasedDeduplication - Enables content-based deduplication for FIFO topics.this@Stability(value=Experimental) public TopicProps.Builder displayName(String displayName)
TopicProps.getDisplayName()displayName - A developer-defined string that can be used to identify this SNS topic.this@Stability(value=Experimental) public TopicProps.Builder fifo(Boolean fifo)
TopicProps.getFifo()fifo - Set to true to create a FIFO topic.this@Stability(value=Experimental) public TopicProps.Builder masterKey(IKey masterKey)
TopicProps.getMasterKey()masterKey - A KMS Key, either managed by this CDK app, or imported.this@Stability(value=Experimental) public TopicProps.Builder topicName(String topicName)
TopicProps.getTopicName()topicName - A name for the topic.
If you don't specify a name, AWS CloudFormation generates a unique
physical ID and uses that ID for the topic name. For more information,
see Name Type.this@Stability(value=Experimental) public TopicProps build()
build in interface software.amazon.jsii.Builder<TopicProps>TopicPropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.