@Deprecated
public static final class SendToQueue.Builder
extends java.lang.Object
SendToQueue
.Modifier and Type | Method and Description |
---|---|
SendToQueue |
build()
Deprecated.
|
static SendToQueue.Builder |
create(IQueue queue)
Deprecated.
|
SendToQueue.Builder |
delay(Duration delay)
Deprecated.
|
SendToQueue.Builder |
integrationPattern(ServiceIntegrationPattern integrationPattern)
Deprecated.
|
SendToQueue.Builder |
messageBody(TaskInput messageBody)
Deprecated.
|
SendToQueue.Builder |
messageDeduplicationId(java.lang.String messageDeduplicationId)
Deprecated.
|
SendToQueue.Builder |
messageGroupId(java.lang.String messageGroupId)
Deprecated.
|
@Deprecated public static SendToQueue.Builder create(IQueue queue)
queue
- This parameter is required.SendToQueue.Builder
.@Deprecated public SendToQueue.Builder messageBody(TaskInput messageBody)
messageBody
- The text message to send to the queue. This parameter is required.this
@Deprecated public SendToQueue.Builder delay(Duration delay)
Valid values are 0-900 seconds.
Default: Default value of the queue is used
delay
- The length of time, in seconds, for which to delay a specific message. This parameter is required.this
@Deprecated public SendToQueue.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 SendMessage to SQS. This parameter is required.this
@Deprecated public SendToQueue.Builder messageDeduplicationId(java.lang.String messageDeduplicationId)
Default: Use content-based deduplication
messageDeduplicationId
- The token used for deduplication of sent messages. This parameter is required.this
@Deprecated public SendToQueue.Builder messageGroupId(java.lang.String messageGroupId)
Required for FIFO queues. FIFO ordering applies to messages in the same message group.
Default: No group ID
messageGroupId
- The tag that specifies that a message belongs to a specific message group. This parameter is required.this
@Deprecated public SendToQueue build()