Class QueuePolicy.Builder

java.lang.Object
software.amazon.awscdk.services.sqs.QueuePolicy.Builder
All Implemented Interfaces:
software.amazon.jsii.Builder<QueuePolicy>
Enclosing class:
QueuePolicy

@Stability(Stable) public static final class QueuePolicy.Builder extends Object implements software.amazon.jsii.Builder<QueuePolicy>
A fluent builder for QueuePolicy.
  • Method Details

    • create

      @Stability(Stable) public static QueuePolicy.Builder create(software.constructs.Construct scope, String id)
      Parameters:
      scope - This parameter is required.
      id - This parameter is required.
      Returns:
      a new instance of QueuePolicy.Builder.
    • queues

      @Stability(Stable) public QueuePolicy.Builder queues(List<? extends IQueue> queues)
      The set of queues this policy applies to.

      Parameters:
      queues - The set of queues this policy applies to. This parameter is required.
      Returns:
      this
    • build

      @Stability(Stable) public QueuePolicy build()
      Specified by:
      build in interface software.amazon.jsii.Builder<QueuePolicy>
      Returns:
      a newly built instance of QueuePolicy.