Struct aws_sdk_mediaconnect::types::builders::BridgeBuilder
source · #[non_exhaustive]pub struct BridgeBuilder { /* private fields */ }
Expand description
A builder for Bridge
.
Implementations§
source§impl BridgeBuilder
impl BridgeBuilder
sourcepub fn bridge_arn(self, input: impl Into<String>) -> Self
pub fn bridge_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Number (ARN) of the bridge. 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 Amazon Resource Number (ARN) of the bridge.
sourcepub fn get_bridge_arn(&self) -> &Option<String>
pub fn get_bridge_arn(&self) -> &Option<String>
The Amazon Resource Number (ARN) of the bridge.
sourcepub fn bridge_messages(self, input: MessageDetail) -> Self
pub fn bridge_messages(self, input: MessageDetail) -> Self
Appends an item to bridge_messages
.
To override the contents of this collection use set_bridge_messages
.
pub fn set_bridge_messages(self, input: Option<Vec<MessageDetail>>) -> Self
pub fn get_bridge_messages(&self) -> &Option<Vec<MessageDetail>>
sourcepub fn bridge_state(self, input: BridgeState) -> Self
pub fn bridge_state(self, input: BridgeState) -> Self
This field is required.
pub fn set_bridge_state(self, input: Option<BridgeState>) -> Self
pub fn get_bridge_state(&self) -> &Option<BridgeState>
pub fn egress_gateway_bridge(self, input: EgressGatewayBridge) -> Self
pub fn set_egress_gateway_bridge( self, input: Option<EgressGatewayBridge>, ) -> Self
pub fn get_egress_gateway_bridge(&self) -> &Option<EgressGatewayBridge>
pub fn ingress_gateway_bridge(self, input: IngressGatewayBridge) -> Self
pub fn set_ingress_gateway_bridge( self, input: Option<IngressGatewayBridge>, ) -> Self
pub fn get_ingress_gateway_bridge(&self) -> &Option<IngressGatewayBridge>
sourcepub fn name(self, input: impl Into<String>) -> Self
pub fn name(self, input: impl Into<String>) -> Self
The name of the bridge. This field is required.
sourcepub fn outputs(self, input: BridgeOutput) -> Self
pub fn outputs(self, input: BridgeOutput) -> Self
Appends an item to outputs
.
To override the contents of this collection use set_outputs
.
The outputs on this bridge.
sourcepub fn set_outputs(self, input: Option<Vec<BridgeOutput>>) -> Self
pub fn set_outputs(self, input: Option<Vec<BridgeOutput>>) -> Self
The outputs on this bridge.
sourcepub fn get_outputs(&self) -> &Option<Vec<BridgeOutput>>
pub fn get_outputs(&self) -> &Option<Vec<BridgeOutput>>
The outputs on this bridge.
sourcepub fn placement_arn(self, input: impl Into<String>) -> Self
pub fn placement_arn(self, input: impl Into<String>) -> Self
The placement Amazon Resource Number (ARN) of the bridge. This field is required.
sourcepub fn set_placement_arn(self, input: Option<String>) -> Self
pub fn set_placement_arn(self, input: Option<String>) -> Self
The placement Amazon Resource Number (ARN) of the bridge.
sourcepub fn get_placement_arn(&self) -> &Option<String>
pub fn get_placement_arn(&self) -> &Option<String>
The placement Amazon Resource Number (ARN) of the bridge.
sourcepub fn source_failover_config(self, input: FailoverConfig) -> Self
pub fn source_failover_config(self, input: FailoverConfig) -> Self
The settings for source failover.
sourcepub fn set_source_failover_config(self, input: Option<FailoverConfig>) -> Self
pub fn set_source_failover_config(self, input: Option<FailoverConfig>) -> Self
The settings for source failover.
sourcepub fn get_source_failover_config(&self) -> &Option<FailoverConfig>
pub fn get_source_failover_config(&self) -> &Option<FailoverConfig>
The settings for source failover.
sourcepub fn sources(self, input: BridgeSource) -> Self
pub fn sources(self, input: BridgeSource) -> Self
Appends an item to sources
.
To override the contents of this collection use set_sources
.
The sources on this bridge.
sourcepub fn set_sources(self, input: Option<Vec<BridgeSource>>) -> Self
pub fn set_sources(self, input: Option<Vec<BridgeSource>>) -> Self
The sources on this bridge.
sourcepub fn get_sources(&self) -> &Option<Vec<BridgeSource>>
pub fn get_sources(&self) -> &Option<Vec<BridgeSource>>
The sources on this bridge.
Trait Implementations§
source§impl Clone for BridgeBuilder
impl Clone for BridgeBuilder
source§fn clone(&self) -> BridgeBuilder
fn clone(&self) -> BridgeBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for BridgeBuilder
impl Debug for BridgeBuilder
source§impl Default for BridgeBuilder
impl Default for BridgeBuilder
source§fn default() -> BridgeBuilder
fn default() -> BridgeBuilder
source§impl PartialEq for BridgeBuilder
impl PartialEq for BridgeBuilder
source§fn eq(&self, other: &BridgeBuilder) -> bool
fn eq(&self, other: &BridgeBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BridgeBuilder
Auto Trait Implementations§
impl Freeze for BridgeBuilder
impl RefUnwindSafe for BridgeBuilder
impl Send for BridgeBuilder
impl Sync for BridgeBuilder
impl Unpin for BridgeBuilder
impl UnwindSafe for BridgeBuilder
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