Interface AudioPreMixerSettings.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AudioPreMixerSettings.Builder,,AudioPreMixerSettings> SdkBuilder<AudioPreMixerSettings.Builder,,AudioPreMixerSettings> SdkPojo
- Enclosing class:
AudioPreMixerSettings
@Mutable
@NotThreadSafe
public static interface AudioPreMixerSettings.Builder
extends SdkPojo, CopyableBuilder<AudioPreMixerSettings.Builder,AudioPreMixerSettings>
-
Method Summary
Modifier and TypeMethodDescriptiondefault AudioPreMixerSettings.BuilderaudioNormalizationSettings(Consumer<AudioNormalizationSettings.Builder> audioNormalizationSettings) Audio normalization settings for loudness control.audioNormalizationSettings(AudioNormalizationSettings audioNormalizationSettings) Audio normalization settings for loudness control.Number of audio channels.Gain adjustment in dB to apply.default AudioPreMixerSettings.BuilderremixSettings(Consumer<RemixSettings.Builder> remixSettings) Settings that control how input audio channels are remixed.remixSettings(RemixSettings remixSettings) Settings that control how input audio channels are remixed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
audioNormalizationSettings
AudioPreMixerSettings.Builder audioNormalizationSettings(AudioNormalizationSettings audioNormalizationSettings) Audio normalization settings for loudness control. When specified, audio loudness will be normalized according to the chosen algorithm.- Parameters:
audioNormalizationSettings- Audio normalization settings for loudness control. When specified, audio loudness will be normalized according to the chosen algorithm.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
audioNormalizationSettings
default AudioPreMixerSettings.Builder audioNormalizationSettings(Consumer<AudioNormalizationSettings.Builder> audioNormalizationSettings) Audio normalization settings for loudness control. When specified, audio loudness will be normalized according to the chosen algorithm. This is a convenience method that creates an instance of theAudioNormalizationSettings.Builderavoiding the need to create one manually viaAudioNormalizationSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toaudioNormalizationSettings(AudioNormalizationSettings).- Parameters:
audioNormalizationSettings- a consumer that will call methods onAudioNormalizationSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
channels
Number of audio channels. If specified, the audio will be remixed to match this channel count. Ignored if remixSettings is specified.- Parameters:
channels- Number of audio channels. If specified, the audio will be remixed to match this channel count. Ignored if remixSettings is specified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gainDb
Gain adjustment in dB to apply. Range: -60 to +60 dB- Parameters:
gainDb- Gain adjustment in dB to apply. Range: -60 to +60 dB- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remixSettings
Settings that control how input audio channels are remixed. When specified, allows fine-grained control over channel mapping and gain levels. Takes precedence over the 'channels' setting.- Parameters:
remixSettings- Settings that control how input audio channels are remixed. When specified, allows fine-grained control over channel mapping and gain levels. Takes precedence over the 'channels' setting.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
remixSettings
Settings that control how input audio channels are remixed. When specified, allows fine-grained control over channel mapping and gain levels. Takes precedence over the 'channels' setting. This is a convenience method that creates an instance of theRemixSettings.Builderavoiding the need to create one manually viaRemixSettings.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toremixSettings(RemixSettings).- Parameters:
remixSettings- a consumer that will call methods onRemixSettings.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-