Class CfnJobTemplate.Builder

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

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

    • create

      @Stability(Stable) public static CfnJobTemplate.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 CfnJobTemplate.Builder.
    • settingsJson

      @Stability(Stable) public CfnJobTemplate.Builder settingsJson(Object settingsJson)
      Specify, in JSON format, the transcoding job settings for this job template.

      This specification must conform to the AWS Elemental MediaConvert job validation. For information about forming this specification, see the Remarks section later in this topic.

      For more information about MediaConvert job templates, see Working with AWS Elemental MediaConvert Job Templates in the ** .

      Parameters:
      settingsJson - Specify, in JSON format, the transcoding job settings for this job template. This parameter is required.
      Returns:
      this
    • accelerationSettings

      @Stability(Stable) public CfnJobTemplate.Builder accelerationSettings(IResolvable accelerationSettings)
      Accelerated transcoding can significantly speed up jobs with long, visually complex content.

      Outputs that use this feature incur pro-tier pricing. For information about feature limitations, For more information, see Job Limitations for Accelerated Transcoding in AWS Elemental MediaConvert in the AWS Elemental MediaConvert User Guide .

      Parameters:
      accelerationSettings - Accelerated transcoding can significantly speed up jobs with long, visually complex content. This parameter is required.
      Returns:
      this
    • accelerationSettings

      @Stability(Stable) public CfnJobTemplate.Builder accelerationSettings(CfnJobTemplate.AccelerationSettingsProperty accelerationSettings)
      Accelerated transcoding can significantly speed up jobs with long, visually complex content.

      Outputs that use this feature incur pro-tier pricing. For information about feature limitations, For more information, see Job Limitations for Accelerated Transcoding in AWS Elemental MediaConvert in the AWS Elemental MediaConvert User Guide .

      Parameters:
      accelerationSettings - Accelerated transcoding can significantly speed up jobs with long, visually complex content. This parameter is required.
      Returns:
      this
    • category

      @Stability(Stable) public CfnJobTemplate.Builder category(String category)
      Optional.

      A category for the job template you are creating

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

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

      A description of the job template you are creating.

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

      @Stability(Stable) public CfnJobTemplate.Builder hopDestinations(IResolvable hopDestinations)
      Optional.

      Configuration for a destination queue to which the job can hop once a customer-defined minimum wait time has passed. For more information, see Setting Up Queue Hopping to Avoid Long Waits in the AWS Elemental MediaConvert User Guide .

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

      @Stability(Stable) public CfnJobTemplate.Builder hopDestinations(List<? extends Object> hopDestinations)
      Optional.

      Configuration for a destination queue to which the job can hop once a customer-defined minimum wait time has passed. For more information, see Setting Up Queue Hopping to Avoid Long Waits in the AWS Elemental MediaConvert User Guide .

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

      @Stability(Stable) public CfnJobTemplate.Builder name(String name)
      The name of the job template you are creating.

      Parameters:
      name - The name of the job template you are creating. This parameter is required.
      Returns:
      this
    • priority

      @Stability(Stable) public CfnJobTemplate.Builder priority(Number priority)
      Specify the relative priority for this job.

      In any given queue, the service begins processing the job with the highest value first. When more than one job has the same priority, the service begins processing the job that you submitted first. If you don't specify a priority, the service uses the default value 0. Minimum: -50 Maximum: 50

      Parameters:
      priority - Specify the relative priority for this job. This parameter is required.
      Returns:
      this
    • queue

      @Stability(Stable) public CfnJobTemplate.Builder queue(String queue)
      Optional.

      The queue that jobs created from this template are assigned to. Specify the Amazon Resource Name (ARN) of the queue. For example, arn:aws:mediaconvert:us-west-2:505474453218:queues/Default. If you don't specify this, jobs will go to the default queue.

      Parameters:
      queue - Optional. This parameter is required.
      Returns:
      this
    • statusUpdateInterval

      @Stability(Stable) public CfnJobTemplate.Builder statusUpdateInterval(String statusUpdateInterval)
      Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events.

      Set the interval, in seconds, between status updates. MediaConvert sends an update at this interval from the time the service begins processing your job to the time it completes the transcode or encounters an error.

      Specify one of the following enums:

      SECONDS_10

      SECONDS_12

      SECONDS_15

      SECONDS_20

      SECONDS_30

      SECONDS_60

      SECONDS_120

      SECONDS_180

      SECONDS_240

      SECONDS_300

      SECONDS_360

      SECONDS_420

      SECONDS_480

      SECONDS_540

      SECONDS_600

      Parameters:
      statusUpdateInterval - Specify how often MediaConvert sends STATUS_UPDATE events to Amazon CloudWatch Events. This parameter is required.
      Returns:
      this
    • tags

      @Stability(Stable) public CfnJobTemplate.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 CfnJobTemplate build()
      Specified by:
      build in interface software.amazon.jsii.Builder<CfnJobTemplate>
      Returns:
      a newly built instance of CfnJobTemplate.