@Stability(value=Experimental) public static final class SqsSendMessage.Builder extends Object implements software.amazon.jsii.Builder<SqsSendMessage>
SqsSendMessage.| Modifier and Type | Method and Description |
|---|---|
SqsSendMessage |
build() |
SqsSendMessage.Builder |
comment(String comment)
(experimental) An optional description for this state.
|
static SqsSendMessage.Builder |
create(software.constructs.Construct scope,
String id) |
SqsSendMessage.Builder |
delay(Duration delay)
(experimental) The length of time, for which to delay a message.
|
SqsSendMessage.Builder |
heartbeat(Duration heartbeat)
(experimental) Timeout for the heartbeat.
|
SqsSendMessage.Builder |
inputPath(String inputPath)
(experimental) JSONPath expression to select part of the state to be the input to this state.
|
SqsSendMessage.Builder |
integrationPattern(IntegrationPattern integrationPattern)
(experimental) AWS Step Functions integrates with services directly in the Amazon States Language.
|
SqsSendMessage.Builder |
messageBody(TaskInput messageBody)
(experimental) The text message to send to the queue.
|
SqsSendMessage.Builder |
messageDeduplicationId(String messageDeduplicationId)
(experimental) The token used for deduplication of sent messages.
|
SqsSendMessage.Builder |
messageGroupId(String messageGroupId)
(experimental) The tag that specifies that a message belongs to a specific message group.
|
SqsSendMessage.Builder |
outputPath(String outputPath)
(experimental) JSONPath expression to select select a portion of the state output to pass to the next state.
|
SqsSendMessage.Builder |
queue(IQueue queue)
(experimental) The SQS queue that messages will be sent to.
|
SqsSendMessage.Builder |
resultPath(String resultPath)
(experimental) JSONPath expression to indicate where to inject the state's output.
|
SqsSendMessage.Builder |
resultSelector(Map<String,? extends Object> resultSelector)
(experimental) The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.
|
SqsSendMessage.Builder |
timeout(Duration timeout)
(experimental) Timeout for the state machine.
|
@Stability(value=Experimental) public static SqsSendMessage.Builder create(software.constructs.Construct scope, String id)
scope - This parameter is required.id - This parameter is required.SqsSendMessage.Builder.@Stability(value=Experimental) public SqsSendMessage.Builder comment(String comment)
Default: - No comment
comment - An optional description for this state. This parameter is required.this@Stability(value=Experimental) public SqsSendMessage.Builder heartbeat(Duration heartbeat)
Default: - None
heartbeat - Timeout for the heartbeat. This parameter is required.this@Stability(value=Experimental) public SqsSendMessage.Builder inputPath(String inputPath)
May also be the special value JsonPath.DISCARD, which will cause the effective input to be the empty object {}.
Default: - The entire task input (JSON path '$')
inputPath - JSONPath expression to select part of the state to be the input to this state. This parameter is required.this@Stability(value=Experimental) public SqsSendMessage.Builder integrationPattern(IntegrationPattern integrationPattern)
You can control these AWS services using service integration patterns
Default: IntegrationPattern.REQUEST_RESPONSE
integrationPattern - AWS Step Functions integrates with services directly in the Amazon States Language. This parameter is required.thishttps://docs.aws.amazon.com/step-functions/latest/dg/connect-to-resource.html#connect-wait-token@Stability(value=Experimental) public SqsSendMessage.Builder outputPath(String outputPath)
May also be the special value JsonPath.DISCARD, which will cause the effective output to be the empty object {}.
Default: - The entire JSON node determined by the state input, the task result, and resultPath is passed to the next state (JSON path '$')
outputPath - JSONPath expression to select select a portion of the state output to pass to the next state. This parameter is required.this@Stability(value=Experimental) public SqsSendMessage.Builder resultPath(String resultPath)
May also be the special value JsonPath.DISCARD, which will cause the state's input to become its output.
Default: - Replaces the entire input with the result (JSON path '$')
resultPath - JSONPath expression to indicate where to inject the state's output. This parameter is required.this@Stability(value=Experimental) public SqsSendMessage.Builder resultSelector(Map<String,? extends Object> resultSelector)
You can use ResultSelector to create a payload with values that are static or selected from the state's raw result.
Default: - None
resultSelector - The JSON that will replace the state's raw result and become the effective result before ResultPath is applied. This parameter is required.thishttps://docs.aws.amazon.com/step-functions/latest/dg/input-output-inputpath-params.html#input-output-resultselector@Stability(value=Experimental) public SqsSendMessage.Builder timeout(Duration timeout)
Default: - None
timeout - Timeout for the state machine. This parameter is required.this@Stability(value=Experimental) public SqsSendMessage.Builder messageBody(TaskInput messageBody)
messageBody - The text message to send to the queue. This parameter is required.this@Stability(value=Experimental) public SqsSendMessage.Builder queue(IQueue queue)
queue - The SQS queue that messages will be sent to. This parameter is required.this@Stability(value=Experimental) public SqsSendMessage.Builder delay(Duration delay)
Messages that you send to the queue remain invisible to consumers for the duration of the delay period. The maximum allowed delay is 15 minutes.
Default: - delay set on the queue. If a delay is not set on the queue, messages are sent immediately (0 seconds).
delay - The length of time, for which to delay a message. This parameter is required.this@Stability(value=Experimental) public SqsSendMessage.Builder messageDeduplicationId(String messageDeduplicationId)
Any messages sent with the same deduplication ID are accepted successfully, but aren't delivered during the 5-minute deduplication interval.
Default: - None
messageDeduplicationId - The token used for deduplication of sent messages. This parameter is required.this@Stability(value=Experimental) public SqsSendMessage.Builder messageGroupId(String messageGroupId)
Messages that belong to the same message group are processed in a FIFO manner. Messages in different message groups might be processed out of order.
Default: - None
messageGroupId - The tag that specifies that a message belongs to a specific message group. This parameter is required.this@Stability(value=Experimental) public SqsSendMessage build()
build in interface software.amazon.jsii.Builder<SqsSendMessage>Copyright © 2021. All rights reserved.