@Stability(value=Stable) public static final class QueueProps.Builder extends Object
QueueProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
QueueProps |
build()
Builds the configured instance.
|
QueueProps.Builder |
contentBasedDeduplication(Boolean contentBasedDeduplication)
Sets the value of ContentBasedDeduplication
|
QueueProps.Builder |
dataKeyReuse(software.amazon.awscdk.core.Duration dataKeyReuse)
Sets the value of DataKeyReuse
|
QueueProps.Builder |
deadLetterQueue(DeadLetterQueue deadLetterQueue)
Sets the value of DeadLetterQueue
|
QueueProps.Builder |
deliveryDelay(software.amazon.awscdk.core.Duration deliveryDelay)
Sets the value of DeliveryDelay
|
QueueProps.Builder |
encryption(QueueEncryption encryption)
Sets the value of Encryption
|
QueueProps.Builder |
encryptionMasterKey(software.amazon.awscdk.services.kms.IKey encryptionMasterKey)
Sets the value of EncryptionMasterKey
|
QueueProps.Builder |
fifo(Boolean fifo)
Sets the value of Fifo
|
QueueProps.Builder |
maxMessageSizeBytes(Number maxMessageSizeBytes)
Sets the value of MaxMessageSizeBytes
|
QueueProps.Builder |
queueName(String queueName)
Sets the value of QueueName
|
QueueProps.Builder |
receiveMessageWaitTime(software.amazon.awscdk.core.Duration receiveMessageWaitTime)
Sets the value of ReceiveMessageWaitTime
|
QueueProps.Builder |
retentionPeriod(software.amazon.awscdk.core.Duration retentionPeriod)
Sets the value of RetentionPeriod
|
QueueProps.Builder |
visibilityTimeout(software.amazon.awscdk.core.Duration visibilityTimeout)
Sets the value of VisibilityTimeout
|
@Stability(value=Stable) public QueueProps.Builder contentBasedDeduplication(Boolean contentBasedDeduplication)
contentBasedDeduplication - Specifies whether to enable content-based deduplication.this@Stability(value=Stable) public QueueProps.Builder dataKeyReuse(software.amazon.awscdk.core.Duration dataKeyReuse)
dataKeyReuse - The length of time that Amazon SQS reuses a data key before calling KMS again.this@Stability(value=Stable) public QueueProps.Builder deadLetterQueue(DeadLetterQueue deadLetterQueue)
deadLetterQueue - Send messages to this queue if they were unsuccessfully dequeued a number of times.this@Stability(value=Stable) public QueueProps.Builder deliveryDelay(software.amazon.awscdk.core.Duration deliveryDelay)
deliveryDelay - The time in seconds that the delivery of all messages in the queue is delayed.this@Stability(value=Stable) public QueueProps.Builder encryption(QueueEncryption encryption)
encryption - Whether the contents of the queue are encrypted, and by what type of key.this@Stability(value=Stable) public QueueProps.Builder encryptionMasterKey(software.amazon.awscdk.services.kms.IKey encryptionMasterKey)
encryptionMasterKey - External KMS master key to use for queue encryption.this@Stability(value=Stable) public QueueProps.Builder fifo(Boolean fifo)
fifo - Whether this a first-in-first-out (FIFO) queue.this@Stability(value=Stable) public QueueProps.Builder maxMessageSizeBytes(Number maxMessageSizeBytes)
maxMessageSizeBytes - The limit of how many bytes that a message can contain before Amazon SQS rejects it.this@Stability(value=Stable) public QueueProps.Builder queueName(String queueName)
queueName - A name for the queue.this@Stability(value=Stable) public QueueProps.Builder receiveMessageWaitTime(software.amazon.awscdk.core.Duration receiveMessageWaitTime)
receiveMessageWaitTime - Default wait time for ReceiveMessage calls.this@Stability(value=Stable) public QueueProps.Builder retentionPeriod(software.amazon.awscdk.core.Duration retentionPeriod)
retentionPeriod - The number of seconds that Amazon SQS retains a message.this@Stability(value=Stable) public QueueProps.Builder visibilityTimeout(software.amazon.awscdk.core.Duration visibilityTimeout)
visibilityTimeout - Timeout of processing a single message.this@Stability(value=Stable) public QueueProps build()
QueuePropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.