Struct aws_sdk_mediaconnect::operation::add_flow_media_streams::builders::AddFlowMediaStreamsOutputBuilder
source · #[non_exhaustive]pub struct AddFlowMediaStreamsOutputBuilder { /* private fields */ }
Expand description
A builder for AddFlowMediaStreamsOutput
.
Implementations§
source§impl AddFlowMediaStreamsOutputBuilder
impl AddFlowMediaStreamsOutputBuilder
sourcepub fn flow_arn(self, input: impl Into<String>) -> Self
pub fn flow_arn(self, input: impl Into<String>) -> Self
The ARN of the flow that you added media streams to.
sourcepub fn set_flow_arn(self, input: Option<String>) -> Self
pub fn set_flow_arn(self, input: Option<String>) -> Self
The ARN of the flow that you added media streams to.
sourcepub fn get_flow_arn(&self) -> &Option<String>
pub fn get_flow_arn(&self) -> &Option<String>
The ARN of the flow that you added media streams to.
sourcepub fn media_streams(self, input: MediaStream) -> Self
pub fn media_streams(self, input: MediaStream) -> Self
Appends an item to media_streams
.
To override the contents of this collection use set_media_streams
.
The media streams that you added to the flow.
sourcepub fn set_media_streams(self, input: Option<Vec<MediaStream>>) -> Self
pub fn set_media_streams(self, input: Option<Vec<MediaStream>>) -> Self
The media streams that you added to the flow.
sourcepub fn get_media_streams(&self) -> &Option<Vec<MediaStream>>
pub fn get_media_streams(&self) -> &Option<Vec<MediaStream>>
The media streams that you added to the flow.
sourcepub fn build(self) -> AddFlowMediaStreamsOutput
pub fn build(self) -> AddFlowMediaStreamsOutput
Consumes the builder and constructs a AddFlowMediaStreamsOutput
.
Trait Implementations§
source§impl Clone for AddFlowMediaStreamsOutputBuilder
impl Clone for AddFlowMediaStreamsOutputBuilder
source§fn clone(&self) -> AddFlowMediaStreamsOutputBuilder
fn clone(&self) -> AddFlowMediaStreamsOutputBuilder
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 Default for AddFlowMediaStreamsOutputBuilder
impl Default for AddFlowMediaStreamsOutputBuilder
source§fn default() -> AddFlowMediaStreamsOutputBuilder
fn default() -> AddFlowMediaStreamsOutputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AddFlowMediaStreamsOutputBuilder
impl PartialEq for AddFlowMediaStreamsOutputBuilder
source§fn eq(&self, other: &AddFlowMediaStreamsOutputBuilder) -> bool
fn eq(&self, other: &AddFlowMediaStreamsOutputBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AddFlowMediaStreamsOutputBuilder
Auto Trait Implementations§
impl Freeze for AddFlowMediaStreamsOutputBuilder
impl RefUnwindSafe for AddFlowMediaStreamsOutputBuilder
impl Send for AddFlowMediaStreamsOutputBuilder
impl Sync for AddFlowMediaStreamsOutputBuilder
impl Unpin for AddFlowMediaStreamsOutputBuilder
impl UnwindSafe for AddFlowMediaStreamsOutputBuilder
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> 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.