Class SqsTarget.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.targets.alpha.SqsTarget.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<SqsTarget>
- Enclosing class:
SqsTarget
@Stability(Experimental)
public static final class SqsTarget.Builder
extends Object
implements software.amazon.jsii.Builder<SqsTarget>
(experimental) A fluent builder for
SqsTarget
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static SqsTarget.Builder
inputTransformation
(IInputTransformation inputTransformation) (experimental) The input transformation to apply to the message before sending it to the target.messageDeduplicationId
(String messageDeduplicationId) (experimental) This parameter applies only to FIFO (first-in-first-out) queues.messageGroupId
(String messageGroupId) (experimental) The FIFO message group ID to use as the target.
-
Method Details
-
create
- Parameters:
queue
- This parameter is required.- Returns:
- a new instance of
SqsTarget.Builder
.
-
inputTransformation
@Stability(Experimental) public SqsTarget.Builder inputTransformation(IInputTransformation inputTransformation) (experimental) The input transformation to apply to the message before sending it to the target.Default: - none
- Parameters:
inputTransformation
- The input transformation to apply to the message before sending it to the target. This parameter is required.- Returns:
this
- See Also:
-
messageDeduplicationId
@Stability(Experimental) public SqsTarget.Builder messageDeduplicationId(String messageDeduplicationId) (experimental) This parameter applies only to FIFO (first-in-first-out) queues.The token used for deduplication of sent messages.
Default: - none
- Parameters:
messageDeduplicationId
- This parameter applies only to FIFO (first-in-first-out) queues. This parameter is required.- Returns:
this
- See Also:
-
messageGroupId
(experimental) The FIFO message group ID to use as the target.Default: - none
- Parameters:
messageGroupId
- The FIFO message group ID to use as the target. This parameter is required.- Returns:
this
- See Also:
-
build
-