@Stability(value=Stable) public static final class QueueAttributes.Builder extends Object
QueueAttributes| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
QueueAttributes |
build()
Builds the configured instance.
|
QueueAttributes.Builder |
withKeyArn(String value)
Sets the value of KeyArn
|
QueueAttributes.Builder |
withQueueArn(String value)
Sets the value of QueueArn
|
QueueAttributes.Builder |
withQueueName(String value)
Sets the value of QueueName
|
QueueAttributes.Builder |
withQueueUrl(String value)
Sets the value of QueueUrl
|
@Stability(value=Stable) public QueueAttributes.Builder withQueueArn(String value)
value - The ARN of the queue.this@Stability(value=Stable) public QueueAttributes.Builder withKeyArn(@Nullable String value)
value - KMS encryption key, if this queue is server-side encrypted by a KMS key.this@Stability(value=Stable) public QueueAttributes.Builder withQueueName(@Nullable String value)
value - The name of the queue.this@Stability(value=Stable) public QueueAttributes.Builder withQueueUrl(@Nullable String value)
value - The URL of the queue.this@Stability(value=Stable) public QueueAttributes build()
QueueAttributesNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.