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