Class SendToQueue.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.SendToQueue.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SendToQueue>
- Enclosing class:
SendToQueue
@Stability(Deprecated)
@Deprecated
public static final class SendToQueue.Builder
extends Object
implements software.amazon.jsii.Builder<SendToQueue>
Deprecated.
(deprecated) A fluent builder for
SendToQueue
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.static SendToQueue.Builder
Deprecated.Deprecated.integrationPattern
(ServiceIntegrationPattern integrationPattern) Deprecated.messageBody
(TaskInput messageBody) Deprecated.messageDeduplicationId
(String messageDeduplicationId) Deprecated.messageGroupId
(String messageGroupId) Deprecated.
-
Method Details
-
create
Deprecated.- Parameters:
queue
- This parameter is required.- Returns:
- a new instance of
SendToQueue.Builder
.
-
messageBody
Deprecated.(deprecated) The text message to send to the queue.- Parameters:
messageBody
- The text message to send to the queue. This parameter is required.- Returns:
this
-
delay
Deprecated.(deprecated) The length of time, in seconds, for which to delay a specific message.Valid values are 0-900 seconds.
Default: Default value of the queue is used
- Parameters:
delay
- The length of time, in seconds, for which to delay a specific message. This parameter is required.- Returns:
this
-
integrationPattern
@Stability(Deprecated) @Deprecated public SendToQueue.Builder integrationPattern(ServiceIntegrationPattern integrationPattern) Deprecated.(deprecated) The service integration pattern indicates different ways to call SendMessage to SQS.The valid value is either FIRE_AND_FORGET or WAIT_FOR_TASK_TOKEN.
Default: FIRE_AND_FORGET
- Parameters:
integrationPattern
- The service integration pattern indicates different ways to call SendMessage to SQS. This parameter is required.- Returns:
this
-
messageDeduplicationId
@Stability(Deprecated) @Deprecated public SendToQueue.Builder messageDeduplicationId(String messageDeduplicationId) Deprecated.(deprecated) The token used for deduplication of sent messages.Default: Use content-based deduplication
- Parameters:
messageDeduplicationId
- The token used for deduplication of sent messages. This parameter is required.- Returns:
this
-
messageGroupId
Deprecated.(deprecated) The tag that specifies that a message belongs to a specific message group.Required for FIFO queues. FIFO ordering applies to messages in the same message group.
Default: No group ID
- Parameters:
messageGroupId
- The tag that specifies that a message belongs to a specific message group. This parameter is required.- Returns:
this
-
build
Deprecated.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<SendToQueue>
- Returns:
- a newly built instance of
SendToQueue
.
-