@Stability(value=Experimental) public static final class SendToQueueProps.Builder extends Object
SendToQueueProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SendToQueueProps |
build()
Builds the configured instance.
|
SendToQueueProps.Builder |
delay(Duration delay)
Sets the value of Delay
|
SendToQueueProps.Builder |
integrationPattern(ServiceIntegrationPattern integrationPattern)
Sets the value of IntegrationPattern
|
SendToQueueProps.Builder |
messageBody(TaskInput messageBody)
Sets the value of MessageBody
|
SendToQueueProps.Builder |
messageDeduplicationId(String messageDeduplicationId)
Sets the value of MessageDeduplicationId
|
SendToQueueProps.Builder |
messageGroupId(String messageGroupId)
Sets the value of MessageGroupId
|
@Stability(value=Experimental) public SendToQueueProps.Builder messageBody(TaskInput messageBody)
messageBody - The text message to send to the queue. This parameter is required.this@Stability(value=Experimental) public SendToQueueProps.Builder delay(Duration delay)
delay - The length of time, in seconds, for which to delay a specific message.this@Stability(value=Experimental) public SendToQueueProps.Builder integrationPattern(ServiceIntegrationPattern integrationPattern)
integrationPattern - The service integration pattern indicates different ways to call SendMessage to SQS.this@Stability(value=Experimental) public SendToQueueProps.Builder messageDeduplicationId(String messageDeduplicationId)
messageDeduplicationId - The token used for deduplication of sent messages.this@Stability(value=Experimental) public SendToQueueProps.Builder messageGroupId(String messageGroupId)
messageGroupId - The tag that specifies that a message belongs to a specific message group.this@Stability(value=Experimental) public SendToQueueProps build()
SendToQueuePropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.