Interface AudioCodecSettings.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AudioCodecSettings.Builder,AudioCodecSettings>
,SdkBuilder<AudioCodecSettings.Builder,AudioCodecSettings>
,SdkPojo
- Enclosing class:
- AudioCodecSettings
public static interface AudioCodecSettings.Builder extends SdkPojo, CopyableBuilder<AudioCodecSettings.Builder,AudioCodecSettings>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default AudioCodecSettings.Builder
aacSettings(Consumer<AacSettings.Builder> aacSettings)
Required when you set Codec to the value AAC.AudioCodecSettings.Builder
aacSettings(AacSettings aacSettings)
Required when you set Codec to the value AAC.default AudioCodecSettings.Builder
ac3Settings(Consumer<Ac3Settings.Builder> ac3Settings)
Required when you set Codec to the value AC3.AudioCodecSettings.Builder
ac3Settings(Ac3Settings ac3Settings)
Required when you set Codec to the value AC3.default AudioCodecSettings.Builder
aiffSettings(Consumer<AiffSettings.Builder> aiffSettings)
Required when you set Codec to the value AIFF.AudioCodecSettings.Builder
aiffSettings(AiffSettings aiffSettings)
Required when you set Codec to the value AIFF.AudioCodecSettings.Builder
codec(String codec)
Choose the audio codec for this output.AudioCodecSettings.Builder
codec(AudioCodec codec)
Choose the audio codec for this output.default AudioCodecSettings.Builder
eac3AtmosSettings(Consumer<Eac3AtmosSettings.Builder> eac3AtmosSettings)
Required when you set Codec to the value EAC3_ATMOS.AudioCodecSettings.Builder
eac3AtmosSettings(Eac3AtmosSettings eac3AtmosSettings)
Required when you set Codec to the value EAC3_ATMOS.default AudioCodecSettings.Builder
eac3Settings(Consumer<Eac3Settings.Builder> eac3Settings)
Required when you set Codec to the value EAC3.AudioCodecSettings.Builder
eac3Settings(Eac3Settings eac3Settings)
Required when you set Codec to the value EAC3.default AudioCodecSettings.Builder
flacSettings(Consumer<FlacSettings.Builder> flacSettings)
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value FLAC.AudioCodecSettings.Builder
flacSettings(FlacSettings flacSettings)
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value FLAC.default AudioCodecSettings.Builder
mp2Settings(Consumer<Mp2Settings.Builder> mp2Settings)
Required when you set Codec to the value MP2.AudioCodecSettings.Builder
mp2Settings(Mp2Settings mp2Settings)
Required when you set Codec to the value MP2.default AudioCodecSettings.Builder
mp3Settings(Consumer<Mp3Settings.Builder> mp3Settings)
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3.AudioCodecSettings.Builder
mp3Settings(Mp3Settings mp3Settings)
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3.default AudioCodecSettings.Builder
opusSettings(Consumer<OpusSettings.Builder> opusSettings)
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS.AudioCodecSettings.Builder
opusSettings(OpusSettings opusSettings)
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS.default AudioCodecSettings.Builder
vorbisSettings(Consumer<VorbisSettings.Builder> vorbisSettings)
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value Vorbis.AudioCodecSettings.Builder
vorbisSettings(VorbisSettings vorbisSettings)
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value Vorbis.default AudioCodecSettings.Builder
wavSettings(Consumer<WavSettings.Builder> wavSettings)
Required when you set Codec to the value WAV.AudioCodecSettings.Builder
wavSettings(WavSettings wavSettings)
Required when you set Codec to the value WAV.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
aacSettings
AudioCodecSettings.Builder aacSettings(AacSettings aacSettings)
Required when you set Codec to the value AAC. The service accepts one of two mutually exclusive groups of AAC settings--VBR and CBR. To select one of these modes, set the value of Bitrate control mode to "VBR" or "CBR". In VBR mode, you control the audio quality with the setting VBR quality. In CBR mode, you use the setting Bitrate. Defaults and valid values depend on the rate control mode.- Parameters:
aacSettings
- Required when you set Codec to the value AAC. The service accepts one of two mutually exclusive groups of AAC settings--VBR and CBR. To select one of these modes, set the value of Bitrate control mode to "VBR" or "CBR". In VBR mode, you control the audio quality with the setting VBR quality. In CBR mode, you use the setting Bitrate. Defaults and valid values depend on the rate control mode.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aacSettings
default AudioCodecSettings.Builder aacSettings(Consumer<AacSettings.Builder> aacSettings)
Required when you set Codec to the value AAC. The service accepts one of two mutually exclusive groups of AAC settings--VBR and CBR. To select one of these modes, set the value of Bitrate control mode to "VBR" or "CBR". In VBR mode, you control the audio quality with the setting VBR quality. In CBR mode, you use the setting Bitrate. Defaults and valid values depend on the rate control mode. This is a convenience method that creates an instance of theAacSettings.Builder
avoiding the need to create one manually viaAacSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaacSettings(AacSettings)
.- Parameters:
aacSettings
- a consumer that will call methods onAacSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
aacSettings(AacSettings)
-
ac3Settings
AudioCodecSettings.Builder ac3Settings(Ac3Settings ac3Settings)
Required when you set Codec to the value AC3.- Parameters:
ac3Settings
- Required when you set Codec to the value AC3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ac3Settings
default AudioCodecSettings.Builder ac3Settings(Consumer<Ac3Settings.Builder> ac3Settings)
Required when you set Codec to the value AC3. This is a convenience method that creates an instance of theAc3Settings.Builder
avoiding the need to create one manually viaAc3Settings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toac3Settings(Ac3Settings)
.- Parameters:
ac3Settings
- a consumer that will call methods onAc3Settings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ac3Settings(Ac3Settings)
-
aiffSettings
AudioCodecSettings.Builder aiffSettings(AiffSettings aiffSettings)
Required when you set Codec to the value AIFF.- Parameters:
aiffSettings
- Required when you set Codec to the value AIFF.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
aiffSettings
default AudioCodecSettings.Builder aiffSettings(Consumer<AiffSettings.Builder> aiffSettings)
Required when you set Codec to the value AIFF. This is a convenience method that creates an instance of theAiffSettings.Builder
avoiding the need to create one manually viaAiffSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toaiffSettings(AiffSettings)
.- Parameters:
aiffSettings
- a consumer that will call methods onAiffSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
aiffSettings(AiffSettings)
-
codec
AudioCodecSettings.Builder codec(String codec)
Choose the audio codec for this output. Note that the option Dolby Digital passthrough applies only to Dolby Digital and Dolby Digital Plus audio inputs. Make sure that you choose a codec that's supported with your output container: https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#reference -codecs-containers-output-audio For audio-only outputs, make sure that both your input audio codec and your output audio codec are supported for audio-only workflows. For more information, see: https://docs.aws.amazon. com/mediaconvert/latest/ug/reference-codecs-containers-input.html#reference-codecs-containers -input-audio-only and https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#audio-only-output- Parameters:
codec
- Choose the audio codec for this output. Note that the option Dolby Digital passthrough applies only to Dolby Digital and Dolby Digital Plus audio inputs. Make sure that you choose a codec that's supported with your output container: https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers .html#reference-codecs-containers-output-audio For audio-only outputs, make sure that both your input audio codec and your output audio codec are supported for audio-only workflows. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers-input.html#reference -codecs-containers-input-audio-only and https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#audio-only-output- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AudioCodec
,AudioCodec
-
codec
AudioCodecSettings.Builder codec(AudioCodec codec)
Choose the audio codec for this output. Note that the option Dolby Digital passthrough applies only to Dolby Digital and Dolby Digital Plus audio inputs. Make sure that you choose a codec that's supported with your output container: https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#reference -codecs-containers-output-audio For audio-only outputs, make sure that both your input audio codec and your output audio codec are supported for audio-only workflows. For more information, see: https://docs.aws.amazon. com/mediaconvert/latest/ug/reference-codecs-containers-input.html#reference-codecs-containers -input-audio-only and https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#audio-only-output- Parameters:
codec
- Choose the audio codec for this output. Note that the option Dolby Digital passthrough applies only to Dolby Digital and Dolby Digital Plus audio inputs. Make sure that you choose a codec that's supported with your output container: https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers .html#reference-codecs-containers-output-audio For audio-only outputs, make sure that both your input audio codec and your output audio codec are supported for audio-only workflows. For more information, see: https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers-input.html#reference -codecs-containers-input-audio-only and https://docs.aws.amazon.com/mediaconvert/latest/ug/reference-codecs-containers.html#audio-only-output- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AudioCodec
,AudioCodec
-
eac3AtmosSettings
AudioCodecSettings.Builder eac3AtmosSettings(Eac3AtmosSettings eac3AtmosSettings)
Required when you set Codec to the value EAC3_ATMOS.- Parameters:
eac3AtmosSettings
- Required when you set Codec to the value EAC3_ATMOS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eac3AtmosSettings
default AudioCodecSettings.Builder eac3AtmosSettings(Consumer<Eac3AtmosSettings.Builder> eac3AtmosSettings)
Required when you set Codec to the value EAC3_ATMOS. This is a convenience method that creates an instance of theEac3AtmosSettings.Builder
avoiding the need to create one manually viaEac3AtmosSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeac3AtmosSettings(Eac3AtmosSettings)
.- Parameters:
eac3AtmosSettings
- a consumer that will call methods onEac3AtmosSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
eac3AtmosSettings(Eac3AtmosSettings)
-
eac3Settings
AudioCodecSettings.Builder eac3Settings(Eac3Settings eac3Settings)
Required when you set Codec to the value EAC3.- Parameters:
eac3Settings
- Required when you set Codec to the value EAC3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eac3Settings
default AudioCodecSettings.Builder eac3Settings(Consumer<Eac3Settings.Builder> eac3Settings)
Required when you set Codec to the value EAC3. This is a convenience method that creates an instance of theEac3Settings.Builder
avoiding the need to create one manually viaEac3Settings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeac3Settings(Eac3Settings)
.- Parameters:
eac3Settings
- a consumer that will call methods onEac3Settings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
eac3Settings(Eac3Settings)
-
flacSettings
AudioCodecSettings.Builder flacSettings(FlacSettings flacSettings)
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value FLAC.- Parameters:
flacSettings
- Required when you set Codec, under AudioDescriptions>CodecSettings, to the value FLAC.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flacSettings
default AudioCodecSettings.Builder flacSettings(Consumer<FlacSettings.Builder> flacSettings)
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value FLAC. This is a convenience method that creates an instance of theFlacSettings.Builder
avoiding the need to create one manually viaFlacSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toflacSettings(FlacSettings)
.- Parameters:
flacSettings
- a consumer that will call methods onFlacSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
flacSettings(FlacSettings)
-
mp2Settings
AudioCodecSettings.Builder mp2Settings(Mp2Settings mp2Settings)
Required when you set Codec to the value MP2.- Parameters:
mp2Settings
- Required when you set Codec to the value MP2.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mp2Settings
default AudioCodecSettings.Builder mp2Settings(Consumer<Mp2Settings.Builder> mp2Settings)
Required when you set Codec to the value MP2. This is a convenience method that creates an instance of theMp2Settings.Builder
avoiding the need to create one manually viaMp2Settings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomp2Settings(Mp2Settings)
.- Parameters:
mp2Settings
- a consumer that will call methods onMp2Settings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
mp2Settings(Mp2Settings)
-
mp3Settings
AudioCodecSettings.Builder mp3Settings(Mp3Settings mp3Settings)
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3.- Parameters:
mp3Settings
- Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
mp3Settings
default AudioCodecSettings.Builder mp3Settings(Consumer<Mp3Settings.Builder> mp3Settings)
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value MP3. This is a convenience method that creates an instance of theMp3Settings.Builder
avoiding the need to create one manually viaMp3Settings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomp3Settings(Mp3Settings)
.- Parameters:
mp3Settings
- a consumer that will call methods onMp3Settings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
mp3Settings(Mp3Settings)
-
opusSettings
AudioCodecSettings.Builder opusSettings(OpusSettings opusSettings)
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS.- Parameters:
opusSettings
- Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
opusSettings
default AudioCodecSettings.Builder opusSettings(Consumer<OpusSettings.Builder> opusSettings)
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value OPUS. This is a convenience method that creates an instance of theOpusSettings.Builder
avoiding the need to create one manually viaOpusSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toopusSettings(OpusSettings)
.- Parameters:
opusSettings
- a consumer that will call methods onOpusSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
opusSettings(OpusSettings)
-
vorbisSettings
AudioCodecSettings.Builder vorbisSettings(VorbisSettings vorbisSettings)
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value Vorbis.- Parameters:
vorbisSettings
- Required when you set Codec, under AudioDescriptions>CodecSettings, to the value Vorbis.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vorbisSettings
default AudioCodecSettings.Builder vorbisSettings(Consumer<VorbisSettings.Builder> vorbisSettings)
Required when you set Codec, under AudioDescriptions>CodecSettings, to the value Vorbis. This is a convenience method that creates an instance of theVorbisSettings.Builder
avoiding the need to create one manually viaVorbisSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovorbisSettings(VorbisSettings)
.- Parameters:
vorbisSettings
- a consumer that will call methods onVorbisSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
vorbisSettings(VorbisSettings)
-
wavSettings
AudioCodecSettings.Builder wavSettings(WavSettings wavSettings)
Required when you set Codec to the value WAV.- Parameters:
wavSettings
- Required when you set Codec to the value WAV.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
wavSettings
default AudioCodecSettings.Builder wavSettings(Consumer<WavSettings.Builder> wavSettings)
Required when you set Codec to the value WAV. This is a convenience method that creates an instance of theWavSettings.Builder
avoiding the need to create one manually viaWavSettings.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towavSettings(WavSettings)
.- Parameters:
wavSettings
- a consumer that will call methods onWavSettings.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
wavSettings(WavSettings)
-
-