@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 |
integrationPattern(ServiceIntegrationPattern integrationPattern)
Sets the value of IntegrationPattern
|
PublishToTopicProps.Builder |
message(TaskInput message)
Sets the value of Message
|
PublishToTopicProps.Builder |
messagePerSubscriptionType(Boolean messagePerSubscriptionType)
Sets the value of MessagePerSubscriptionType
|
PublishToTopicProps.Builder |
subject(String subject)
Sets the value of Subject
|
@Stability(value=Experimental) public PublishToTopicProps.Builder message(TaskInput message)
message - The text message to send to the topic. This parameter is required.this@Stability(value=Experimental) public PublishToTopicProps.Builder integrationPattern(ServiceIntegrationPattern integrationPattern)
integrationPattern - The service integration pattern indicates different ways to call Publish to SNS.this@Stability(value=Experimental) public PublishToTopicProps.Builder messagePerSubscriptionType(Boolean messagePerSubscriptionType)
messagePerSubscriptionType - If true, send a different message to every subscription type.this@Stability(value=Experimental) public PublishToTopicProps.Builder subject(String subject)
subject - Message subject.this@Stability(value=Experimental) public PublishToTopicProps build()
PublishToTopicPropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.