Class CfnQueue.Builder

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

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

    • create

      @Stability(Stable) public static CfnQueue.Builder create(Construct scope, String id)
      Parameters:
      scope -
      • scope in which this resource is defined.
      This parameter is required.
      id -
      • scoped id of the resource.
      This parameter is required.
      Returns:
      a new instance of CfnQueue.Builder.
    • description

      @Stability(Stable) public CfnQueue.Builder description(String description)
      Optional.

      A description of the queue that you are creating.

      Parameters:
      description - Optional. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnQueue.Builder name(String name)
      The name of the queue that you are creating.

      Parameters:
      name - The name of the queue that you are creating. This parameter is required.
      Returns:
      this
    • pricingPlan

      @Stability(Stable) public CfnQueue.Builder pricingPlan(String pricingPlan)
      When you use AWS CloudFormation , you can create only on-demand queues.

      Therefore, always set PricingPlan to the value "ON_DEMAND" when declaring an AWS::MediaConvert::Queue in your AWS CloudFormation template.

      To create a reserved queue, use the AWS Elemental MediaConvert console at https://console.aws.amazon.com/mediaconvert to set up a contract. For more information, see Working with AWS Elemental MediaConvert Queues in the ** .

      Parameters:
      pricingPlan - When you use AWS CloudFormation , you can create only on-demand queues. This parameter is required.
      Returns:
      this
    • status

      @Stability(Stable) public CfnQueue.Builder status(String status)
      Initial state of the queue.

      Queues can be either ACTIVE or PAUSED. If you create a paused queue, then jobs that you send to that queue won't begin.

      Parameters:
      status - Initial state of the queue. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnQueue.Builder tags(Object tags)
      An array of key-value pairs to apply to this resource.

      For more information, see Tag .

      Parameters:
      tags - An array of key-value pairs to apply to this resource. This parameter is required.
      Returns:
      this
    • build

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