Class CfnQueuePolicyMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.sqs.CfnQueuePolicyMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQueuePolicyMixinProps>
- Enclosing interface:
CfnQueuePolicyMixinProps
@Stability(Stable)
public static final class CfnQueuePolicyMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQueuePolicyMixinProps>
A builder for
CfnQueuePolicyMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.policyDocument(Object policyDocument) Sets the value ofCfnQueuePolicyMixinProps.getPolicyDocument()Sets the value ofCfnQueuePolicyMixinProps.getQueues()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
policyDocument
Sets the value ofCfnQueuePolicyMixinProps.getPolicyDocument()- Parameters:
policyDocument- A policy document that contains the permissions for the specified Amazon SQS queues. For more information about Amazon SQS policies, see Using custom policies with the Amazon SQS access policy language in the Amazon SQS Developer Guide .- Returns:
this
-
queues
Sets the value ofCfnQueuePolicyMixinProps.getQueues()- Parameters:
queues- The URLs of the queues to which you want to add the policy. You can use the[Ref](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/intrinsic-function-reference-ref.html)function to specify an[AWS::SQS::Queue](https://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-resource-sqs-queue.html)resource.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnQueuePolicyMixinProps>- Returns:
- a new instance of
CfnQueuePolicyMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-