Struct aws_sdk_mediaconnect::operation::add_flow_media_streams::builders::AddFlowMediaStreamsInputBuilder
source · #[non_exhaustive]pub struct AddFlowMediaStreamsInputBuilder { /* private fields */ }Expand description
A builder for AddFlowMediaStreamsInput.
Implementations§
source§impl AddFlowMediaStreamsInputBuilder
impl AddFlowMediaStreamsInputBuilder
sourcepub fn flow_arn(self, input: impl Into<String>) -> Self
pub fn flow_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the flow. This field is required.
sourcepub fn set_flow_arn(self, input: Option<String>) -> Self
pub fn set_flow_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the flow.
sourcepub fn get_flow_arn(&self) -> &Option<String>
pub fn get_flow_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the flow.
sourcepub fn media_streams(self, input: AddMediaStreamRequest) -> Self
pub fn media_streams(self, input: AddMediaStreamRequest) -> Self
Appends an item to media_streams.
To override the contents of this collection use set_media_streams.
The media streams that you want to add to the flow.
sourcepub fn set_media_streams(
self,
input: Option<Vec<AddMediaStreamRequest>>
) -> Self
pub fn set_media_streams( self, input: Option<Vec<AddMediaStreamRequest>> ) -> Self
The media streams that you want to add to the flow.
sourcepub fn get_media_streams(&self) -> &Option<Vec<AddMediaStreamRequest>>
pub fn get_media_streams(&self) -> &Option<Vec<AddMediaStreamRequest>>
The media streams that you want to add to the flow.
sourcepub fn build(self) -> Result<AddFlowMediaStreamsInput, BuildError>
pub fn build(self) -> Result<AddFlowMediaStreamsInput, BuildError>
Consumes the builder and constructs a AddFlowMediaStreamsInput.
source§impl AddFlowMediaStreamsInputBuilder
impl AddFlowMediaStreamsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AddFlowMediaStreamsOutput, SdkError<AddFlowMediaStreamsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AddFlowMediaStreamsOutput, SdkError<AddFlowMediaStreamsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AddFlowMediaStreamsInputBuilder
impl Clone for AddFlowMediaStreamsInputBuilder
source§fn clone(&self) -> AddFlowMediaStreamsInputBuilder
fn clone(&self) -> AddFlowMediaStreamsInputBuilder
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 AddFlowMediaStreamsInputBuilder
impl Default for AddFlowMediaStreamsInputBuilder
source§fn default() -> AddFlowMediaStreamsInputBuilder
fn default() -> AddFlowMediaStreamsInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AddFlowMediaStreamsInputBuilder
impl PartialEq for AddFlowMediaStreamsInputBuilder
source§fn eq(&self, other: &AddFlowMediaStreamsInputBuilder) -> bool
fn eq(&self, other: &AddFlowMediaStreamsInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AddFlowMediaStreamsInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AddFlowMediaStreamsInputBuilder
impl Send for AddFlowMediaStreamsInputBuilder
impl Sync for AddFlowMediaStreamsInputBuilder
impl Unpin for AddFlowMediaStreamsInputBuilder
impl UnwindSafe for AddFlowMediaStreamsInputBuilder
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>
Creates a shared type from an unshared type.