@Stability(value=Stable) public static final class DeadLetterQueue.Builder extends Object implements software.amazon.jsii.Builder<DeadLetterQueue>
DeadLetterQueue| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DeadLetterQueue |
build()
Builds the configured instance.
|
DeadLetterQueue.Builder |
maxReceiveCount(Number maxReceiveCount)
Sets the value of
DeadLetterQueue.getMaxReceiveCount() |
DeadLetterQueue.Builder |
queue(IQueue queue)
Sets the value of
DeadLetterQueue.getQueue() |
@Stability(value=Stable) public DeadLetterQueue.Builder maxReceiveCount(Number maxReceiveCount)
DeadLetterQueue.getMaxReceiveCount()maxReceiveCount - The number of times a message can be unsuccesfully dequeued before being moved to the dead-letter queue. This parameter is required.this@Stability(value=Stable) public DeadLetterQueue.Builder queue(IQueue queue)
DeadLetterQueue.getQueue()queue - The dead-letter queue to which Amazon SQS moves messages after the value of maxReceiveCount is exceeded. This parameter is required.this@Stability(value=Stable) public DeadLetterQueue build()
build in interface software.amazon.jsii.Builder<DeadLetterQueue>DeadLetterQueueNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.