Class CfnQueueMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.mediaconvert.CfnQueueMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnQueueMixinProps>
- Enclosing interface:
CfnQueueMixinProps
@Stability(Stable)
public static final class CfnQueueMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnQueueMixinProps>
A builder for
CfnQueueMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.concurrentJobs(Number concurrentJobs) Sets the value ofCfnQueueMixinProps.getConcurrentJobs()description(String description) Sets the value ofCfnQueueMixinProps.getDescription()Sets the value ofCfnQueueMixinProps.getName()pricingPlan(String pricingPlan) Sets the value ofCfnQueueMixinProps.getPricingPlan()Sets the value ofCfnQueueMixinProps.getStatus()Sets the value ofCfnQueueMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
concurrentJobs
Sets the value ofCfnQueueMixinProps.getConcurrentJobs()- Parameters:
concurrentJobs- Specify the maximum number of jobs your queue can process concurrently. For on-demand queues, the value you enter is constrained by your service quotas for Maximum concurrent jobs, per on-demand queue and Maximum concurrent jobs, per account. For reserved queues, specify the number of jobs you can process concurrently in your reservation plan instead.- Returns:
this
-
description
Sets the value ofCfnQueueMixinProps.getDescription()- Parameters:
description- Optional. A description of the queue that you are creating.- Returns:
this
-
name
Sets the value ofCfnQueueMixinProps.getName()- Parameters:
name- The name of the queue that you are creating.- Returns:
this
-
pricingPlan
Sets the value ofCfnQueueMixinProps.getPricingPlan()- Parameters:
pricingPlan- When you use CloudFormation , you can create only on-demand queues. Therefore, always setPricingPlanto the value "ON_DEMAND" when declaring an AWS::MediaConvert::Queue in your 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 ofCfnQueueMixinProps.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 ofCfnQueueMixinProps.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:
buildin interfacesoftware.amazon.jsii.Builder<CfnQueueMixinProps>- Returns:
- a new instance of
CfnQueueMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-