Class CfnChannelPropsMixin.AudioNormalizationSettingsProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.medialive.CfnChannelPropsMixin.AudioNormalizationSettingsProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnChannelPropsMixin.AudioNormalizationSettingsProperty>
- Enclosing interface:
CfnChannelPropsMixin.AudioNormalizationSettingsProperty
@Stability(Stable)
public static final class CfnChannelPropsMixin.AudioNormalizationSettingsProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnChannelPropsMixin.AudioNormalizationSettingsProperty>
A builder for
CfnChannelPropsMixin.AudioNormalizationSettingsProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the value ofCfnChannelPropsMixin.AudioNormalizationSettingsProperty.getAlgorithm()algorithmControl(String algorithmControl) build()Builds the configured instance.targetLkfs(Number targetLkfs) Sets the value ofCfnChannelPropsMixin.AudioNormalizationSettingsProperty.getTargetLkfs()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
algorithm
@Stability(Stable) public CfnChannelPropsMixin.AudioNormalizationSettingsProperty.Builder algorithm(String algorithm) Sets the value ofCfnChannelPropsMixin.AudioNormalizationSettingsProperty.getAlgorithm()- Parameters:
algorithm- The audio normalization algorithm to use. itu17701 conforms to the CALM Act specification. itu17702 conforms to the EBU R-128 specification.- Returns:
this
-
algorithmControl
@Stability(Stable) public CfnChannelPropsMixin.AudioNormalizationSettingsProperty.Builder algorithmControl(String algorithmControl) - Parameters:
algorithmControl- When set to correctAudio, the output audio is corrected using the chosen algorithm. If set to measureOnly, the audio is measured but not adjusted.- Returns:
this
-
targetLkfs
@Stability(Stable) public CfnChannelPropsMixin.AudioNormalizationSettingsProperty.Builder targetLkfs(Number targetLkfs) Sets the value ofCfnChannelPropsMixin.AudioNormalizationSettingsProperty.getTargetLkfs()- Parameters:
targetLkfs- The Target LKFS(loudness) to adjust volume to. If no value is entered, a default value is used according to the chosen algorithm. The CALM Act (1770-1) recommends a target of -24 LKFS. The EBU R-128 specification (1770-2) recommends a target of -23 LKFS.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnChannelPropsMixin.AudioNormalizationSettingsProperty>- Returns:
- a new instance of
CfnChannelPropsMixin.AudioNormalizationSettingsProperty - Throws:
NullPointerException- if any required attribute was not provided
-