Class SendToQueueProps.Builder
java.lang.Object
software.amazon.awscdk.services.stepfunctions.tasks.SendToQueueProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SendToQueueProps>
- Enclosing interface:
SendToQueueProps
@Stability(Deprecated)
@Deprecated
public static final class SendToQueueProps.Builder
extends Object
implements software.amazon.jsii.Builder<SendToQueueProps>
Deprecated.
A builder for
SendToQueueProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Deprecated.Deprecated.integrationPattern
(ServiceIntegrationPattern integrationPattern) Deprecated.messageBody
(TaskInput messageBody) Deprecated.messageDeduplicationId
(String messageDeduplicationId) Deprecated.messageGroupId
(String messageGroupId) Deprecated.
-
Constructor Details
-
Builder
public Builder()Deprecated.
-
-
Method Details
-
messageBody
@Stability(Deprecated) @Deprecated public SendToQueueProps.Builder messageBody(TaskInput messageBody) Deprecated.Sets the value ofSendToQueueProps.getMessageBody()
- Parameters:
messageBody
- The text message to send to the queue. This parameter is required.- Returns:
this
-
delay
Deprecated.Sets the value ofSendToQueueProps.getDelay()
- Parameters:
delay
- The length of time, in seconds, for which to delay a specific message. Valid values are 0-900 seconds.- Returns:
this
-
integrationPattern
@Stability(Deprecated) @Deprecated public SendToQueueProps.Builder integrationPattern(ServiceIntegrationPattern integrationPattern) Deprecated.Sets the value ofSendToQueueProps.getIntegrationPattern()
- Parameters:
integrationPattern
- 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.- Returns:
this
-
messageDeduplicationId
@Stability(Deprecated) @Deprecated public SendToQueueProps.Builder messageDeduplicationId(String messageDeduplicationId) Deprecated.Sets the value ofSendToQueueProps.getMessageDeduplicationId()
- Parameters:
messageDeduplicationId
- The token used for deduplication of sent messages.- Returns:
this
-
messageGroupId
@Stability(Deprecated) @Deprecated public SendToQueueProps.Builder messageGroupId(String messageGroupId) Deprecated.Sets the value ofSendToQueueProps.getMessageGroupId()
- Parameters:
messageGroupId
- 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.- Returns:
this
-
build
Deprecated.Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<SendToQueueProps>
- Returns:
- a new instance of
SendToQueueProps
- Throws:
NullPointerException
- if any required attribute was not provided
-