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 Summary
Modifier and TypeMethodDescriptionbuild()
static CfnQueue.Builder
description
(String description) Optional.The name of the queue that you are creating.pricingPlan
(String pricingPlan) When you use AWS CloudFormation , you can create only on-demand queues.Initial state of the queue.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
@Stability(Stable) public static CfnQueue.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope
- Scope in which this resource is defined. This parameter is required.id
- Construct identifier for this resource (unique in its scope). This parameter is required.- Returns:
- a new instance of
CfnQueue.Builder
.
-
description
Optional.A description of the queue that you are creating.
- Parameters:
description
- Optional. This parameter is required.- Returns:
this
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
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
- See Also:
-
build
-