Class CfnPipe.PipeTargetSqsQueueParametersProperty.Builder
java.lang.Object
software.amazon.awscdk.services.pipes.CfnPipe.PipeTargetSqsQueueParametersProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPipe.PipeTargetSqsQueueParametersProperty>
- Enclosing interface:
CfnPipe.PipeTargetSqsQueueParametersProperty
@Stability(Stable)
public static final class CfnPipe.PipeTargetSqsQueueParametersProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPipe.PipeTargetSqsQueueParametersProperty>
A builder for
CfnPipe.PipeTargetSqsQueueParametersProperty
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.messageDeduplicationId
(String messageDeduplicationId) Sets the value ofCfnPipe.PipeTargetSqsQueueParametersProperty.getMessageDeduplicationId()
messageGroupId
(String messageGroupId) Sets the value ofCfnPipe.PipeTargetSqsQueueParametersProperty.getMessageGroupId()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
messageDeduplicationId
@Stability(Stable) public CfnPipe.PipeTargetSqsQueueParametersProperty.Builder messageDeduplicationId(String messageDeduplicationId) Sets the value ofCfnPipe.PipeTargetSqsQueueParametersProperty.getMessageDeduplicationId()
- Parameters:
messageDeduplicationId
- This parameter applies only to FIFO (first-in-first-out) queues. The token used for deduplication of sent messages.- Returns:
this
-
messageGroupId
@Stability(Stable) public CfnPipe.PipeTargetSqsQueueParametersProperty.Builder messageGroupId(String messageGroupId) Sets the value ofCfnPipe.PipeTargetSqsQueueParametersProperty.getMessageGroupId()
- Parameters:
messageGroupId
- The FIFO message group ID to use as the target.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnPipe.PipeTargetSqsQueueParametersProperty>
- Returns:
- a new instance of
CfnPipe.PipeTargetSqsQueueParametersProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-