@Stability(value=Experimental) public static final class SqsSendMessageProps.Builder extends Object implements software.amazon.jsii.Builder<SqsSendMessageProps>
SqsSendMessageProps| Constructor and Description |
|---|
Builder() |
@Stability(value=Experimental) public SqsSendMessageProps.Builder messageBody(TaskInput messageBody)
SqsSendMessageProps.getMessageBody()messageBody - The text message to send to the queue. This parameter is required.this@Stability(value=Experimental) public SqsSendMessageProps.Builder queue(IQueue queue)
SqsSendMessageProps.getQueue()queue - The SQS queue that messages will be sent to. This parameter is required.this@Stability(value=Experimental) public SqsSendMessageProps.Builder delay(Duration delay)
SqsSendMessageProps.getDelay()delay - The length of time, for which to delay a message.
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.this@Stability(value=Experimental) public SqsSendMessageProps.Builder messageDeduplicationId(String messageDeduplicationId)
SqsSendMessageProps.getMessageDeduplicationId()messageDeduplicationId - The token used for deduplication of sent messages.
Any messages sent with the same deduplication ID are accepted successfully,
but aren't delivered during the 5-minute deduplication interval.this@Stability(value=Experimental) public SqsSendMessageProps.Builder messageGroupId(String messageGroupId)
SqsSendMessageProps.getMessageGroupId()messageGroupId - The tag that specifies that a message belongs to a specific message group.
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.this@Stability(value=Experimental) public SqsSendMessageProps.Builder comment(String comment)
TaskStateBaseProps.getComment()comment - An optional description for this state.this@Stability(value=Experimental) public SqsSendMessageProps.Builder heartbeat(Duration heartbeat)
TaskStateBaseProps.getHeartbeat()heartbeat - Timeout for the heartbeat.this@Stability(value=Experimental) public SqsSendMessageProps.Builder inputPath(String inputPath)
TaskStateBaseProps.getInputPath()inputPath - JSONPath expression to select part of the state to be the input to this state.
May also be the special value JsonPath.DISCARD, which will cause the effective
input to be the empty object {}.this@Stability(value=Experimental) public SqsSendMessageProps.Builder integrationPattern(IntegrationPattern integrationPattern)
TaskStateBaseProps.getIntegrationPattern()integrationPattern - AWS Step Functions integrates with services directly in the Amazon States Language.
You can control these AWS services using service integration patternsthis@Stability(value=Experimental) public SqsSendMessageProps.Builder outputPath(String outputPath)
TaskStateBaseProps.getOutputPath()outputPath - JSONPath expression to select select a portion of the state output to pass to the next state.
May also be the special value JsonPath.DISCARD, which will cause the effective
output to be the empty object {}.this@Stability(value=Experimental) public SqsSendMessageProps.Builder resultPath(String resultPath)
TaskStateBaseProps.getResultPath()resultPath - JSONPath expression to indicate where to inject the state's output.
May also be the special value JsonPath.DISCARD, which will cause the state's
input to become its output.this@Stability(value=Experimental) public SqsSendMessageProps.Builder resultSelector(Map<String,? extends Object> resultSelector)
TaskStateBaseProps.getResultSelector()resultSelector - The JSON that will replace the state's raw result and become the effective result before ResultPath is applied.
You can use ResultSelector to create a payload with values that are static
or selected from the state's raw result.this@Stability(value=Experimental) public SqsSendMessageProps.Builder timeout(Duration timeout)
TaskStateBaseProps.getTimeout()timeout - Timeout for the state machine.this@Stability(value=Experimental) public SqsSendMessageProps build()
build in interface software.amazon.jsii.Builder<SqsSendMessageProps>SqsSendMessagePropsNullPointerException - if any required attribute was not providedCopyright © 2021. All rights reserved.