Struct aws_sdk_mediaconnect::operation::add_bridge_sources::builders::AddBridgeSourcesInputBuilder
source · #[non_exhaustive]pub struct AddBridgeSourcesInputBuilder { /* private fields */ }Expand description
A builder for AddBridgeSourcesInput.
Implementations§
source§impl AddBridgeSourcesInputBuilder
impl AddBridgeSourcesInputBuilder
sourcepub fn bridge_arn(self, input: impl Into<String>) -> Self
pub fn bridge_arn(self, input: impl Into<String>) -> Self
The ARN of the bridge that you want to update. This field is required.
sourcepub fn set_bridge_arn(self, input: Option<String>) -> Self
pub fn set_bridge_arn(self, input: Option<String>) -> Self
The ARN of the bridge that you want to update.
sourcepub fn get_bridge_arn(&self) -> &Option<String>
pub fn get_bridge_arn(&self) -> &Option<String>
The ARN of the bridge that you want to update.
sourcepub fn sources(self, input: AddBridgeSourceRequest) -> Self
pub fn sources(self, input: AddBridgeSourceRequest) -> Self
Appends an item to sources.
To override the contents of this collection use set_sources.
The sources that you want to add to this bridge.
sourcepub fn set_sources(self, input: Option<Vec<AddBridgeSourceRequest>>) -> Self
pub fn set_sources(self, input: Option<Vec<AddBridgeSourceRequest>>) -> Self
The sources that you want to add to this bridge.
sourcepub fn get_sources(&self) -> &Option<Vec<AddBridgeSourceRequest>>
pub fn get_sources(&self) -> &Option<Vec<AddBridgeSourceRequest>>
The sources that you want to add to this bridge.
sourcepub fn build(self) -> Result<AddBridgeSourcesInput, BuildError>
pub fn build(self) -> Result<AddBridgeSourcesInput, BuildError>
Consumes the builder and constructs a AddBridgeSourcesInput.
source§impl AddBridgeSourcesInputBuilder
impl AddBridgeSourcesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AddBridgeSourcesOutput, SdkError<AddBridgeSourcesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AddBridgeSourcesOutput, SdkError<AddBridgeSourcesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AddBridgeSourcesInputBuilder
impl Clone for AddBridgeSourcesInputBuilder
source§fn clone(&self) -> AddBridgeSourcesInputBuilder
fn clone(&self) -> AddBridgeSourcesInputBuilder
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 AddBridgeSourcesInputBuilder
impl Debug for AddBridgeSourcesInputBuilder
source§impl Default for AddBridgeSourcesInputBuilder
impl Default for AddBridgeSourcesInputBuilder
source§fn default() -> AddBridgeSourcesInputBuilder
fn default() -> AddBridgeSourcesInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AddBridgeSourcesInputBuilder
impl PartialEq for AddBridgeSourcesInputBuilder
source§fn eq(&self, other: &AddBridgeSourcesInputBuilder) -> bool
fn eq(&self, other: &AddBridgeSourcesInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AddBridgeSourcesInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AddBridgeSourcesInputBuilder
impl Send for AddBridgeSourcesInputBuilder
impl Sync for AddBridgeSourcesInputBuilder
impl Unpin for AddBridgeSourcesInputBuilder
impl UnwindSafe for AddBridgeSourcesInputBuilder
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.