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
|
public QueueAttributes.Builder withQueueArn(String value)
value - The ARN of the queue.thispublic QueueAttributes.Builder withKeyArn(@Nullable String value)
value - KMS encryption key, if this queue is server-side encrypted by a KMS key.thispublic QueueAttributes.Builder withQueueName(@Nullable String value)
value - The name of the queue.thispublic QueueAttributes.Builder withQueueUrl(@Nullable String value)
value - The URL of the queue.thispublic QueueAttributes build()
QueueAttributesNullPointerException - if any required attribute was not providedCopyright © 2019. All rights reserved.