@Deprecated
public static final class PublishToTopic.Builder
extends java.lang.Object
PublishToTopic
.Modifier and Type | Method and Description |
---|---|
PublishToTopic |
build()
Deprecated.
|
static PublishToTopic.Builder |
create(ITopic topic)
Deprecated.
|
PublishToTopic.Builder |
integrationPattern(ServiceIntegrationPattern integrationPattern)
Deprecated.
|
PublishToTopic.Builder |
message(TaskInput message)
Deprecated.
|
PublishToTopic.Builder |
messagePerSubscriptionType(java.lang.Boolean messagePerSubscriptionType)
Deprecated.
|
PublishToTopic.Builder |
subject(java.lang.String subject)
Deprecated.
|
@Deprecated public static PublishToTopic.Builder create(ITopic topic)
topic
- This parameter is required.PublishToTopic.Builder
.@Deprecated public PublishToTopic.Builder message(TaskInput message)
message
- The text message to send to the topic. This parameter is required.this
@Deprecated public PublishToTopic.Builder integrationPattern(ServiceIntegrationPattern integrationPattern)
The valid value is either FIRE_AND_FORGET or WAIT_FOR_TASK_TOKEN.
Default: FIRE_AND_FORGET
integrationPattern
- The service integration pattern indicates different ways to call Publish to SNS. This parameter is required.this
@Deprecated public PublishToTopic.Builder messagePerSubscriptionType(java.lang.Boolean messagePerSubscriptionType)
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.
Default: false
messagePerSubscriptionType
- If true, send a different message to every subscription type. This parameter is required.this
@Deprecated public PublishToTopic.Builder subject(java.lang.String subject)
Also included, if present, in the standard JSON messages delivered to other endpoints.
Default: - No subject
subject
- Used as the "Subject" line when the message is delivered to email endpoints. This parameter is required.this
@Deprecated public PublishToTopic build()