Class QueuePolicyProps.Builder
java.lang.Object
software.amazon.awscdk.services.sqs.QueuePolicyProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<QueuePolicyProps>
- Enclosing interface:
QueuePolicyProps
@Stability(Stable)
public static final class QueuePolicyProps.Builder
extends Object
implements software.amazon.jsii.Builder<QueuePolicyProps>
A builder for
QueuePolicyProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofQueuePolicyProps.getQueues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
queues
Sets the value ofQueuePolicyProps.getQueues()
- Parameters:
queues
- The set of queues this policy applies to. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<QueuePolicyProps>
- Returns:
- a new instance of
QueuePolicyProps
- Throws:
NullPointerException
- if any required attribute was not provided
-