@Deprecated
public static final class PublishToTopicProps.Builder
extends java.lang.Object
PublishToTopicProps
Constructor and Description |
---|
Builder()
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
PublishToTopicProps |
build()
Deprecated.
|
PublishToTopicProps.Builder |
integrationPattern(ServiceIntegrationPattern integrationPattern)
Deprecated.
|
PublishToTopicProps.Builder |
message(TaskInput message)
Deprecated.
|
PublishToTopicProps.Builder |
messagePerSubscriptionType(java.lang.Boolean messagePerSubscriptionType)
Deprecated.
|
PublishToTopicProps.Builder |
subject(java.lang.String subject)
Deprecated.
|
@Deprecated public PublishToTopicProps.Builder message(TaskInput message)
PublishToTopicProps.getMessage()
message
- The text message to send to the topic. This parameter is required.this
@Deprecated public PublishToTopicProps.Builder integrationPattern(ServiceIntegrationPattern integrationPattern)
PublishToTopicProps.getIntegrationPattern()
integrationPattern
- The service integration pattern indicates different ways to call Publish to SNS.
The valid value is either FIRE_AND_FORGET or WAIT_FOR_TASK_TOKEN.this
@Deprecated public PublishToTopicProps.Builder messagePerSubscriptionType(java.lang.Boolean messagePerSubscriptionType)
PublishToTopicProps.getMessagePerSubscriptionType()
messagePerSubscriptionType
- If true, send a different message to every subscription type.
If this is set to true, message must be a JSON object with a
"default" key and a key for every subscription type (such as "sqs",
"email", etc.) The values are strings representing the messages
being sent to every subscription type.this
@Deprecated public PublishToTopicProps.Builder subject(java.lang.String subject)
PublishToTopicProps.getSubject()
subject
- Used as the "Subject" line when the message is delivered to email endpoints.
Also included, if present, in the standard JSON messages delivered to other endpoints.this
@Deprecated public PublishToTopicProps build()
PublishToTopicProps
java.lang.NullPointerException
- if any required attribute was not provided