Struct aws_sdk_rekognition::types::builders::AudioMetadataBuilder
source · #[non_exhaustive]pub struct AudioMetadataBuilder { /* private fields */ }Expand description
A builder for AudioMetadata.
Implementations§
source§impl AudioMetadataBuilder
impl AudioMetadataBuilder
sourcepub fn codec(self, input: impl Into<String>) -> Self
pub fn codec(self, input: impl Into<String>) -> Self
The audio codec used to encode or decode the audio stream.
sourcepub fn set_codec(self, input: Option<String>) -> Self
pub fn set_codec(self, input: Option<String>) -> Self
The audio codec used to encode or decode the audio stream.
sourcepub fn get_codec(&self) -> &Option<String>
pub fn get_codec(&self) -> &Option<String>
The audio codec used to encode or decode the audio stream.
sourcepub fn duration_millis(self, input: i64) -> Self
pub fn duration_millis(self, input: i64) -> Self
The duration of the audio stream in milliseconds.
sourcepub fn set_duration_millis(self, input: Option<i64>) -> Self
pub fn set_duration_millis(self, input: Option<i64>) -> Self
The duration of the audio stream in milliseconds.
sourcepub fn get_duration_millis(&self) -> &Option<i64>
pub fn get_duration_millis(&self) -> &Option<i64>
The duration of the audio stream in milliseconds.
sourcepub fn sample_rate(self, input: i64) -> Self
pub fn sample_rate(self, input: i64) -> Self
The sample rate for the audio stream.
sourcepub fn set_sample_rate(self, input: Option<i64>) -> Self
pub fn set_sample_rate(self, input: Option<i64>) -> Self
The sample rate for the audio stream.
sourcepub fn get_sample_rate(&self) -> &Option<i64>
pub fn get_sample_rate(&self) -> &Option<i64>
The sample rate for the audio stream.
sourcepub fn number_of_channels(self, input: i64) -> Self
pub fn number_of_channels(self, input: i64) -> Self
The number of audio channels in the segment.
sourcepub fn set_number_of_channels(self, input: Option<i64>) -> Self
pub fn set_number_of_channels(self, input: Option<i64>) -> Self
The number of audio channels in the segment.
sourcepub fn get_number_of_channels(&self) -> &Option<i64>
pub fn get_number_of_channels(&self) -> &Option<i64>
The number of audio channels in the segment.
sourcepub fn build(self) -> AudioMetadata
pub fn build(self) -> AudioMetadata
Consumes the builder and constructs a AudioMetadata.
Trait Implementations§
source§impl Clone for AudioMetadataBuilder
impl Clone for AudioMetadataBuilder
source§fn clone(&self) -> AudioMetadataBuilder
fn clone(&self) -> AudioMetadataBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for AudioMetadataBuilder
impl Debug for AudioMetadataBuilder
source§impl Default for AudioMetadataBuilder
impl Default for AudioMetadataBuilder
source§fn default() -> AudioMetadataBuilder
fn default() -> AudioMetadataBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AudioMetadataBuilder
impl PartialEq for AudioMetadataBuilder
impl StructuralPartialEq for AudioMetadataBuilder
Auto Trait Implementations§
impl Freeze for AudioMetadataBuilder
impl RefUnwindSafe for AudioMetadataBuilder
impl Send for AudioMetadataBuilder
impl Sync for AudioMetadataBuilder
impl Unpin for AudioMetadataBuilder
impl UnwindSafe for AudioMetadataBuilder
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
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.