Struct aws_sdk_mediaconvert::types::builders::Mp3SettingsBuilder
source · #[non_exhaustive]pub struct Mp3SettingsBuilder { /* private fields */ }
Expand description
A builder for Mp3Settings
.
Implementations§
source§impl Mp3SettingsBuilder
impl Mp3SettingsBuilder
sourcepub fn set_bitrate(self, input: Option<i32>) -> Self
pub fn set_bitrate(self, input: Option<i32>) -> Self
Specify the average bitrate in bits per second.
sourcepub fn get_bitrate(&self) -> &Option<i32>
pub fn get_bitrate(&self) -> &Option<i32>
Specify the average bitrate in bits per second.
sourcepub fn channels(self, input: i32) -> Self
pub fn channels(self, input: i32) -> Self
Specify the number of channels in this output audio track. Choosing Mono gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2.
sourcepub fn set_channels(self, input: Option<i32>) -> Self
pub fn set_channels(self, input: Option<i32>) -> Self
Specify the number of channels in this output audio track. Choosing Mono gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2.
sourcepub fn get_channels(&self) -> &Option<i32>
pub fn get_channels(&self) -> &Option<i32>
Specify the number of channels in this output audio track. Choosing Mono gives you 1 output channel; choosing Stereo gives you 2. In the API, valid values are 1 and 2.
sourcepub fn rate_control_mode(self, input: Mp3RateControlMode) -> Self
pub fn rate_control_mode(self, input: Mp3RateControlMode) -> Self
Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).
sourcepub fn set_rate_control_mode(self, input: Option<Mp3RateControlMode>) -> Self
pub fn set_rate_control_mode(self, input: Option<Mp3RateControlMode>) -> Self
Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).
sourcepub fn get_rate_control_mode(&self) -> &Option<Mp3RateControlMode>
pub fn get_rate_control_mode(&self) -> &Option<Mp3RateControlMode>
Specify whether the service encodes this MP3 audio output with a constant bitrate (CBR) or a variable bitrate (VBR).
sourcepub fn sample_rate(self, input: i32) -> Self
pub fn sample_rate(self, input: i32) -> Self
Sample rate in Hz.
sourcepub fn set_sample_rate(self, input: Option<i32>) -> Self
pub fn set_sample_rate(self, input: Option<i32>) -> Self
Sample rate in Hz.
sourcepub fn get_sample_rate(&self) -> &Option<i32>
pub fn get_sample_rate(&self) -> &Option<i32>
Sample rate in Hz.
sourcepub fn vbr_quality(self, input: i32) -> Self
pub fn vbr_quality(self, input: i32) -> Self
Required when you set Bitrate control mode to VBR. Specify the audio quality of this MP3 output from 0 (highest quality) to 9 (lowest quality).
sourcepub fn set_vbr_quality(self, input: Option<i32>) -> Self
pub fn set_vbr_quality(self, input: Option<i32>) -> Self
Required when you set Bitrate control mode to VBR. Specify the audio quality of this MP3 output from 0 (highest quality) to 9 (lowest quality).
sourcepub fn get_vbr_quality(&self) -> &Option<i32>
pub fn get_vbr_quality(&self) -> &Option<i32>
Required when you set Bitrate control mode to VBR. Specify the audio quality of this MP3 output from 0 (highest quality) to 9 (lowest quality).
sourcepub fn build(self) -> Mp3Settings
pub fn build(self) -> Mp3Settings
Consumes the builder and constructs a Mp3Settings
.
Trait Implementations§
source§impl Clone for Mp3SettingsBuilder
impl Clone for Mp3SettingsBuilder
source§fn clone(&self) -> Mp3SettingsBuilder
fn clone(&self) -> Mp3SettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Mp3SettingsBuilder
impl Debug for Mp3SettingsBuilder
source§impl Default for Mp3SettingsBuilder
impl Default for Mp3SettingsBuilder
source§fn default() -> Mp3SettingsBuilder
fn default() -> Mp3SettingsBuilder
source§impl PartialEq for Mp3SettingsBuilder
impl PartialEq for Mp3SettingsBuilder
source§fn eq(&self, other: &Mp3SettingsBuilder) -> bool
fn eq(&self, other: &Mp3SettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for Mp3SettingsBuilder
Auto Trait Implementations§
impl Freeze for Mp3SettingsBuilder
impl RefUnwindSafe for Mp3SettingsBuilder
impl Send for Mp3SettingsBuilder
impl Sync for Mp3SettingsBuilder
impl Unpin for Mp3SettingsBuilder
impl UnwindSafe for Mp3SettingsBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more