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 |
withContentBasedDeduplication(Boolean value)
Sets the value of ContentBasedDeduplication
|
QueueProps.Builder |
withDataKeyReuseSec(Number value)
Sets the value of DataKeyReuseSec
|
QueueProps.Builder |
withDeadLetterQueue(DeadLetterQueue value)
Sets the value of DeadLetterQueue
|
QueueProps.Builder |
withDeliveryDelaySec(Number value)
Sets the value of DeliveryDelaySec
|
QueueProps.Builder |
withEncryption(QueueEncryption value)
Sets the value of Encryption
|
QueueProps.Builder |
withEncryptionMasterKey(software.amazon.awscdk.services.kms.IEncryptionKey value)
Sets the value of EncryptionMasterKey
|
QueueProps.Builder |
withFifo(Boolean value)
Sets the value of Fifo
|
QueueProps.Builder |
withMaxMessageSizeBytes(Number value)
Sets the value of MaxMessageSizeBytes
|
QueueProps.Builder |
withQueueName(String value)
Sets the value of QueueName
|
QueueProps.Builder |
withReceiveMessageWaitTimeSec(Number value)
Sets the value of ReceiveMessageWaitTimeSec
|
QueueProps.Builder |
withRetentionPeriodSec(Number value)
Sets the value of RetentionPeriodSec
|
QueueProps.Builder |
withVisibilityTimeoutSec(Number value)
Sets the value of VisibilityTimeoutSec
|
public QueueProps.Builder withContentBasedDeduplication(@Nullable Boolean value)
value - Specifies whether to enable content-based deduplication.thispublic QueueProps.Builder withDataKeyReuseSec(@Nullable Number value)
value - The length of time that Amazon SQS reuses a data key before calling KMS again.thispublic QueueProps.Builder withDeadLetterQueue(@Nullable DeadLetterQueue value)
value - Send messages to this queue if they were unsuccessfully dequeued a number of times.thispublic QueueProps.Builder withDeliveryDelaySec(@Nullable Number value)
value - The time in seconds that the delivery of all messages in the queue is delayed.thispublic QueueProps.Builder withEncryption(@Nullable QueueEncryption value)
value - Whether the contents of the queue are encrypted, and by what type of key.thispublic QueueProps.Builder withEncryptionMasterKey(@Nullable software.amazon.awscdk.services.kms.IEncryptionKey value)
value - External KMS master key to use for queue encryption.thispublic QueueProps.Builder withFifo(@Nullable Boolean value)
value - Whether this a first-in-first-out (FIFO) queue.thispublic QueueProps.Builder withMaxMessageSizeBytes(@Nullable Number value)
value - The limit of how many bytes that a message can contain before Amazon SQS rejects it.thispublic QueueProps.Builder withQueueName(@Nullable String value)
value - A name for the queue.thispublic QueueProps.Builder withReceiveMessageWaitTimeSec(@Nullable Number value)
value - Default wait time for ReceiveMessage calls.thispublic QueueProps.Builder withRetentionPeriodSec(@Nullable Number value)
value - The number of seconds that Amazon SQS retains a message.thispublic QueueProps.Builder withVisibilityTimeoutSec(@Nullable Number value)
value - Timeout of processing a single message.thispublic QueueProps build()
QueuePropsNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.