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