@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 |
withDelay(software.amazon.awscdk.core.Duration value)
Sets the value of Delay
|
SendToQueueProps.Builder |
withMessageBody(software.amazon.awscdk.services.stepfunctions.TaskInput value)
Sets the value of MessageBody
|
SendToQueueProps.Builder |
withMessageDeduplicationId(String value)
Sets the value of MessageDeduplicationId
|
SendToQueueProps.Builder |
withMessageGroupId(String value)
Sets the value of MessageGroupId
|
SendToQueueProps.Builder |
withWaitForTaskToken(Boolean value)
Sets the value of WaitForTaskToken
|
@Stability(value=Experimental) public SendToQueueProps.Builder withMessageBody(software.amazon.awscdk.services.stepfunctions.TaskInput value)
value - The text message to send to the queue.this@Stability(value=Experimental) public SendToQueueProps.Builder withDelay(@Nullable software.amazon.awscdk.core.Duration value)
value - The length of time, in seconds, for which to delay a specific message.this@Stability(value=Experimental) public SendToQueueProps.Builder withMessageDeduplicationId(@Nullable String value)
value - The token used for deduplication of sent messages.this@Stability(value=Experimental) public SendToQueueProps.Builder withMessageGroupId(@Nullable String value)
value - The tag that specifies that a message belongs to a specific message group.this@Stability(value=Experimental) public SendToQueueProps.Builder withWaitForTaskToken(@Nullable Boolean value)
value - Whether to pause the workflow until a task token is returned.this@Stability(value=Experimental) public SendToQueueProps build()
SendToQueuePropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.