Class QueueReference.Builder
java.lang.Object
software.amazon.awscdk.services.sqs.QueueReference.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<QueueReference>
- Enclosing interface:
QueueReference
@Stability(Stable)
public static final class QueueReference.Builder
extends Object
implements software.amazon.jsii.Builder<QueueReference>
A builder for
QueueReference-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofQueueReference.getQueueArn()Sets the value ofQueueReference.getQueueUrl()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
queueArn
Sets the value ofQueueReference.getQueueArn()- Parameters:
queueArn- The ARN of the Queue resource. This parameter is required.- Returns:
this
-
queueUrl
Sets the value ofQueueReference.getQueueUrl()- Parameters:
queueUrl- The QueueUrl of the Queue resource. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<QueueReference>- Returns:
- a new instance of
QueueReference - Throws:
NullPointerException- if any required attribute was not provided
-