@Stability(value=Experimental) public static final class SendToQueue.Builder extends Object
SendToQueue.| Modifier and Type | Method and Description |
|---|---|
SendToQueue |
build() |
static SendToQueue.Builder |
create(IQueue queue)
EXPERIMENTAL
|
SendToQueue.Builder |
delay(Duration delay)
The length of time, in seconds, for which to delay a specific message.
|
SendToQueue.Builder |
integrationPattern(ServiceIntegrationPattern integrationPattern)
The service integration pattern indicates different ways to call SendMessage to SQS.
|
SendToQueue.Builder |
messageBody(TaskInput messageBody)
The text message to send to the queue.
|
SendToQueue.Builder |
messageDeduplicationId(String messageDeduplicationId)
The token used for deduplication of sent messages.
|
SendToQueue.Builder |
messageGroupId(String messageGroupId)
The tag that specifies that a message belongs to a specific message group.
|
@Stability(value=Experimental) public static SendToQueue.Builder create(IQueue queue)
queue - This parameter is required.SendToQueue.Builder.@Stability(value=Experimental) public SendToQueue.Builder messageBody(TaskInput messageBody)
EXPERIMENTAL
messageBody - The text message to send to the queue. This parameter is required.this@Stability(value=Experimental) public SendToQueue.Builder delay(Duration delay)
Valid values are 0-900 seconds.
Default: Default value of the queue is used
EXPERIMENTAL
delay - The length of time, in seconds, for which to delay a specific message. This parameter is required.this@Stability(value=Experimental) public SendToQueue.Builder integrationPattern(ServiceIntegrationPattern integrationPattern)
The valid value is either FIRE_AND_FORGET or WAIT_FOR_TASK_TOKEN.
Default: FIRE_AND_FORGET
EXPERIMENTAL
integrationPattern - The service integration pattern indicates different ways to call SendMessage to SQS. This parameter is required.this@Stability(value=Experimental) public SendToQueue.Builder messageDeduplicationId(String messageDeduplicationId)
Default: Use content-based deduplication
EXPERIMENTAL
messageDeduplicationId - The token used for deduplication of sent messages. This parameter is required.this@Stability(value=Experimental) public SendToQueue.Builder messageGroupId(String messageGroupId)
Required for FIFO queues. FIFO ordering applies to messages in the same message group.
Default: No group ID
EXPERIMENTAL
messageGroupId - The tag that specifies that a message belongs to a specific message group. This parameter is required.this@Stability(value=Experimental) public SendToQueue build()
Copyright © 2020. All rights reserved.