Class CfnQueueProps.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • description

      @Stability(Stable) public CfnQueueProps.Builder description(String description)
      Parameters:
      description - Optional. A description of the queue that you are creating.
      Returns:
      this
    • name

      @Stability(Stable) public CfnQueueProps.Builder name(String name)
      Sets the value of CfnQueueProps.getName()
      Parameters:
      name - The name of the queue that you are creating.
      Returns:
      this
    • pricingPlan

      @Stability(Stable) public CfnQueueProps.Builder pricingPlan(String pricingPlan)
      Parameters:
      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 ** .

      Returns:
      this
    • status

      @Stability(Stable) public CfnQueueProps.Builder status(String status)
      Sets the value of CfnQueueProps.getStatus()
      Parameters:
      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.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnQueueProps.Builder tags(Object tags)
      Sets the value of CfnQueueProps.getTags()
      Parameters:
      tags - An array of key-value pairs to apply to this resource. For more information, see Tag .
      Returns:
      this
    • build

      @Stability(Stable) public CfnQueueProps build()
      Builds the configured instance.
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnQueueProps>
      Returns:
      a new instance of CfnQueueProps
      Throws:
      NullPointerException - if any required attribute was not provided