Struct aws_sdk_mediaconvert::types::builders::ChannelMappingBuilder
source · #[non_exhaustive]pub struct ChannelMappingBuilder { /* private fields */ }
Expand description
A builder for ChannelMapping
.
Implementations§
source§impl ChannelMappingBuilder
impl ChannelMappingBuilder
sourcepub fn output_channels(self, input: OutputChannelMapping) -> Self
pub fn output_channels(self, input: OutputChannelMapping) -> Self
Appends an item to output_channels
.
To override the contents of this collection use set_output_channels
.
In your JSON job specification, include one child of OutputChannels for each audio channel that you want in your output. Each child should contain one instance of InputChannels or InputChannelsFineTune.
sourcepub fn set_output_channels(
self,
input: Option<Vec<OutputChannelMapping>>
) -> Self
pub fn set_output_channels( self, input: Option<Vec<OutputChannelMapping>> ) -> Self
In your JSON job specification, include one child of OutputChannels for each audio channel that you want in your output. Each child should contain one instance of InputChannels or InputChannelsFineTune.
sourcepub fn get_output_channels(&self) -> &Option<Vec<OutputChannelMapping>>
pub fn get_output_channels(&self) -> &Option<Vec<OutputChannelMapping>>
In your JSON job specification, include one child of OutputChannels for each audio channel that you want in your output. Each child should contain one instance of InputChannels or InputChannelsFineTune.
sourcepub fn build(self) -> ChannelMapping
pub fn build(self) -> ChannelMapping
Consumes the builder and constructs a ChannelMapping
.
Trait Implementations§
source§impl Clone for ChannelMappingBuilder
impl Clone for ChannelMappingBuilder
source§fn clone(&self) -> ChannelMappingBuilder
fn clone(&self) -> ChannelMappingBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ChannelMappingBuilder
impl Debug for ChannelMappingBuilder
source§impl Default for ChannelMappingBuilder
impl Default for ChannelMappingBuilder
source§fn default() -> ChannelMappingBuilder
fn default() -> ChannelMappingBuilder
source§impl PartialEq for ChannelMappingBuilder
impl PartialEq for ChannelMappingBuilder
source§fn eq(&self, other: &ChannelMappingBuilder) -> bool
fn eq(&self, other: &ChannelMappingBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ChannelMappingBuilder
Auto Trait Implementations§
impl Freeze for ChannelMappingBuilder
impl RefUnwindSafe for ChannelMappingBuilder
impl Send for ChannelMappingBuilder
impl Sync for ChannelMappingBuilder
impl Unpin for ChannelMappingBuilder
impl UnwindSafe for ChannelMappingBuilder
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