Class CfnPresetProps.Builder
java.lang.Object
software.amazon.awscdk.services.mediaconvert.CfnPresetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnPresetProps>
- Enclosing interface:
CfnPresetProps
@Stability(Stable)
public static final class CfnPresetProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnPresetProps>
A builder for
CfnPresetProps
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.Sets the value ofCfnPresetProps.getCategory()
description
(String description) Sets the value ofCfnPresetProps.getDescription()
Sets the value ofCfnPresetProps.getName()
settingsJson
(Object settingsJson) Sets the value ofCfnPresetProps.getSettingsJson()
Sets the value ofCfnPresetProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
settingsJson
Sets the value ofCfnPresetProps.getSettingsJson()
- Parameters:
settingsJson
- Specify, in JSON format, the transcoding job settings for this output preset. This parameter is required. 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 ** .
- Returns:
this
-
category
Sets the value ofCfnPresetProps.getCategory()
- Parameters:
category
- The new category for the preset, if you are changing it.- Returns:
this
-
description
Sets the value ofCfnPresetProps.getDescription()
- Parameters:
description
- The new description for the preset, if you are changing it.- Returns:
this
-
name
Sets the value ofCfnPresetProps.getName()
- Parameters:
name
- The name of the preset that you are modifying.- Returns:
this
-
tags
Sets the value ofCfnPresetProps.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<CfnPresetProps>
- Returns:
- a new instance of
CfnPresetProps
- Throws:
NullPointerException
- if any required attribute was not provided
-