@Stability(value=Stable) public static final class DeadLetterQueue.Builder extends Object
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 MaxReceiveCount
|
DeadLetterQueue.Builder |
queue(IQueue queue)
Sets the value of Queue
|
@Stability(value=Stable) public DeadLetterQueue.Builder maxReceiveCount(Number maxReceiveCount)
maxReceiveCount - The number of times a message can be unsuccesfully dequeued before being moved to the dead-letter queue.this@Stability(value=Stable) public DeadLetterQueue.Builder queue(IQueue queue)
queue - The dead-letter queue to which Amazon SQS moves messages after the value of maxReceiveCount is exceeded.this@Stability(value=Stable) public DeadLetterQueue build()
DeadLetterQueueNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.