Class CfnPreset.Builder

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

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

    • create

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

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

      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 output presets, see Working with AWS Elemental MediaConvert Output Presets in the ** .

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

      @Stability(Stable) public CfnPreset.Builder category(String category)
      The new category for the preset, if you are changing it.

      Parameters:
      category - The new category for the preset, if you are changing it. This parameter is required.
      Returns:
      this
    • description

      @Stability(Stable) public CfnPreset.Builder description(String description)
      The new description for the preset, if you are changing it.

      Parameters:
      description - The new description for the preset, if you are changing it. This parameter is required.
      Returns:
      this
    • name

      @Stability(Stable) public CfnPreset.Builder name(String name)
      The name of the preset that you are modifying.

      Parameters:
      name - The name of the preset that you are modifying. This parameter is required.
      Returns:
      this
    • tags

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