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 Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.description
(String description) Sets the value ofCfnQueueProps.getDescription()
Sets the value ofCfnQueueProps.getName()
pricingPlan
(String pricingPlan) Sets the value ofCfnQueueProps.getPricingPlan()
Sets the value ofCfnQueueProps.getStatus()
Sets the value ofCfnQueueProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnQueueProps.getDescription()
- Parameters:
description
- Optional. A description of the queue that you are creating.- Returns:
this
-
name
Sets the value ofCfnQueueProps.getName()
- Parameters:
name
- The name of the queue that you are creating.- Returns:
this
-
pricingPlan
Sets the value ofCfnQueueProps.getPricingPlan()
- Parameters:
pricingPlan
- When you use AWS CloudFormation , you can create only on-demand queues. Therefore, always setPricingPlan
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
Sets the value ofCfnQueueProps.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
Sets the value ofCfnQueueProps.getTags()
- Parameters:
tags
- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnQueueProps>
- Returns:
- a new instance of
CfnQueueProps
- Throws:
NullPointerException
- if any required attribute was not provided
-