@Stability(value=Experimental) public static final class PublishToTopicProps.Builder extends Object
PublishToTopicProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
PublishToTopicProps |
build()
Builds the configured instance.
|
PublishToTopicProps.Builder |
withMessage(software.amazon.awscdk.services.stepfunctions.TaskInput value)
Sets the value of Message
|
PublishToTopicProps.Builder |
withMessagePerSubscriptionType(Boolean value)
Sets the value of MessagePerSubscriptionType
|
PublishToTopicProps.Builder |
withSubject(String value)
Sets the value of Subject
|
PublishToTopicProps.Builder |
withWaitForTaskToken(Boolean value)
Sets the value of WaitForTaskToken
|
@Stability(value=Experimental) public PublishToTopicProps.Builder withMessage(software.amazon.awscdk.services.stepfunctions.TaskInput value)
value - The text message to send to the topic.this@Stability(value=Experimental) public PublishToTopicProps.Builder withMessagePerSubscriptionType(@Nullable Boolean value)
value - If true, send a different message to every subscription type.this@Stability(value=Experimental) public PublishToTopicProps.Builder withSubject(@Nullable String value)
value - Message subject.this@Stability(value=Experimental) public PublishToTopicProps.Builder withWaitForTaskToken(@Nullable Boolean value)
value - Whether to pause the workflow until a task token is returned.this@Stability(value=Experimental) public PublishToTopicProps build()
PublishToTopicPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.