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 Summary
Modifier and TypeMethodDescriptionbuild()
The new category for the preset, if you are changing it.static CfnPreset.Builder
description
(String description) The new description for the preset, if you are changing it.The name of the preset that you are modifying.settingsJson
(Object settingsJson) Specify, in JSON format, the transcoding job settings for this output preset.An array of key-value pairs to apply to this resource.
-
Method Details
-
create
- Parameters:
scope
-- scope in which this resource is defined.
id
-- scoped id of the resource.
- Returns:
- a new instance of
CfnPreset.Builder
.
-
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
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
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
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
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
-