#[non_exhaustive]pub struct MediaStreamOutputConfigurationRequestBuilder { /* private fields */ }
Expand description
A builder for MediaStreamOutputConfigurationRequest
.
Implementations§
source§impl MediaStreamOutputConfigurationRequestBuilder
impl MediaStreamOutputConfigurationRequestBuilder
sourcepub fn destination_configurations(
self,
input: DestinationConfigurationRequest
) -> Self
pub fn destination_configurations( self, input: DestinationConfigurationRequest ) -> Self
Appends an item to destination_configurations
.
To override the contents of this collection use set_destination_configurations
.
The transport parameters that you want to associate with the media stream.
sourcepub fn set_destination_configurations(
self,
input: Option<Vec<DestinationConfigurationRequest>>
) -> Self
pub fn set_destination_configurations( self, input: Option<Vec<DestinationConfigurationRequest>> ) -> Self
The transport parameters that you want to associate with the media stream.
sourcepub fn get_destination_configurations(
&self
) -> &Option<Vec<DestinationConfigurationRequest>>
pub fn get_destination_configurations( &self ) -> &Option<Vec<DestinationConfigurationRequest>>
The transport parameters that you want to associate with the media stream.
sourcepub fn encoding_name(self, input: EncodingName) -> Self
pub fn encoding_name(self, input: EncodingName) -> Self
The format that will be used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv. This field is required.
sourcepub fn set_encoding_name(self, input: Option<EncodingName>) -> Self
pub fn set_encoding_name(self, input: Option<EncodingName>) -> Self
The format that will be used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.
sourcepub fn get_encoding_name(&self) -> &Option<EncodingName>
pub fn get_encoding_name(&self) -> &Option<EncodingName>
The format that will be used to encode the data. For ancillary data streams, set the encoding name to smpte291. For audio streams, set the encoding name to pcm. For video, 2110 streams, set the encoding name to raw. For video, JPEG XS streams, set the encoding name to jxsv.
sourcepub fn encoding_parameters(self, input: EncodingParametersRequest) -> Self
pub fn encoding_parameters(self, input: EncodingParametersRequest) -> Self
A collection of parameters that determine how MediaConnect will convert the content. These fields only apply to outputs on flows that have a CDI source.
sourcepub fn set_encoding_parameters(
self,
input: Option<EncodingParametersRequest>
) -> Self
pub fn set_encoding_parameters( self, input: Option<EncodingParametersRequest> ) -> Self
A collection of parameters that determine how MediaConnect will convert the content. These fields only apply to outputs on flows that have a CDI source.
sourcepub fn get_encoding_parameters(&self) -> &Option<EncodingParametersRequest>
pub fn get_encoding_parameters(&self) -> &Option<EncodingParametersRequest>
A collection of parameters that determine how MediaConnect will convert the content. These fields only apply to outputs on flows that have a CDI source.
sourcepub fn media_stream_name(self, input: impl Into<String>) -> Self
pub fn media_stream_name(self, input: impl Into<String>) -> Self
The name of the media stream that is associated with the output. This field is required.
sourcepub fn set_media_stream_name(self, input: Option<String>) -> Self
pub fn set_media_stream_name(self, input: Option<String>) -> Self
The name of the media stream that is associated with the output.
sourcepub fn get_media_stream_name(&self) -> &Option<String>
pub fn get_media_stream_name(&self) -> &Option<String>
The name of the media stream that is associated with the output.
sourcepub fn build(self) -> MediaStreamOutputConfigurationRequest
pub fn build(self) -> MediaStreamOutputConfigurationRequest
Consumes the builder and constructs a MediaStreamOutputConfigurationRequest
.
Trait Implementations§
source§impl Clone for MediaStreamOutputConfigurationRequestBuilder
impl Clone for MediaStreamOutputConfigurationRequestBuilder
source§fn clone(&self) -> MediaStreamOutputConfigurationRequestBuilder
fn clone(&self) -> MediaStreamOutputConfigurationRequestBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for MediaStreamOutputConfigurationRequestBuilder
impl Default for MediaStreamOutputConfigurationRequestBuilder
source§fn default() -> MediaStreamOutputConfigurationRequestBuilder
fn default() -> MediaStreamOutputConfigurationRequestBuilder
source§impl PartialEq for MediaStreamOutputConfigurationRequestBuilder
impl PartialEq for MediaStreamOutputConfigurationRequestBuilder
source§fn eq(&self, other: &MediaStreamOutputConfigurationRequestBuilder) -> bool
fn eq(&self, other: &MediaStreamOutputConfigurationRequestBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MediaStreamOutputConfigurationRequestBuilder
Auto Trait Implementations§
impl Freeze for MediaStreamOutputConfigurationRequestBuilder
impl RefUnwindSafe for MediaStreamOutputConfigurationRequestBuilder
impl Send for MediaStreamOutputConfigurationRequestBuilder
impl Sync for MediaStreamOutputConfigurationRequestBuilder
impl Unpin for MediaStreamOutputConfigurationRequestBuilder
impl UnwindSafe for MediaStreamOutputConfigurationRequestBuilder
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