Struct aws_sdk_mediaconnect::types::Bridge
source · #[non_exhaustive]pub struct Bridge {
pub bridge_arn: Option<String>,
pub bridge_messages: Option<Vec<MessageDetail>>,
pub bridge_state: Option<BridgeState>,
pub egress_gateway_bridge: Option<EgressGatewayBridge>,
pub ingress_gateway_bridge: Option<IngressGatewayBridge>,
pub name: Option<String>,
pub outputs: Option<Vec<BridgeOutput>>,
pub placement_arn: Option<String>,
pub source_failover_config: Option<FailoverConfig>,
pub sources: Option<Vec<BridgeSource>>,
}
Expand description
A Bridge is the connection between your datacenter’s Instances and the AWS cloud. A bridge can be used to send video from the AWS cloud to your datacenter or from your datacenter to the AWS cloud.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.bridge_arn: Option<String>
The Amazon Resource Number (ARN) of the bridge.
bridge_messages: Option<Vec<MessageDetail>>
§bridge_state: Option<BridgeState>
§egress_gateway_bridge: Option<EgressGatewayBridge>
§ingress_gateway_bridge: Option<IngressGatewayBridge>
§name: Option<String>
The name of the bridge.
outputs: Option<Vec<BridgeOutput>>
The outputs on this bridge.
placement_arn: Option<String>
The placement Amazon Resource Number (ARN) of the bridge.
source_failover_config: Option<FailoverConfig>
The settings for source failover.
sources: Option<Vec<BridgeSource>>
The sources on this bridge.
Implementations§
source§impl Bridge
impl Bridge
sourcepub fn bridge_arn(&self) -> Option<&str>
pub fn bridge_arn(&self) -> Option<&str>
The Amazon Resource Number (ARN) of the bridge.
sourcepub fn bridge_messages(&self) -> &[MessageDetail]
pub fn bridge_messages(&self) -> &[MessageDetail]
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .bridge_messages.is_none()
.
pub fn bridge_state(&self) -> Option<&BridgeState>
pub fn egress_gateway_bridge(&self) -> Option<&EgressGatewayBridge>
pub fn ingress_gateway_bridge(&self) -> Option<&IngressGatewayBridge>
sourcepub fn outputs(&self) -> &[BridgeOutput]
pub fn outputs(&self) -> &[BridgeOutput]
The outputs on this bridge.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .outputs.is_none()
.
sourcepub fn placement_arn(&self) -> Option<&str>
pub fn placement_arn(&self) -> Option<&str>
The placement Amazon Resource Number (ARN) of the bridge.
sourcepub fn source_failover_config(&self) -> Option<&FailoverConfig>
pub fn source_failover_config(&self) -> Option<&FailoverConfig>
The settings for source failover.
sourcepub fn sources(&self) -> &[BridgeSource]
pub fn sources(&self) -> &[BridgeSource]
The sources on this bridge.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .sources.is_none()
.
Trait Implementations§
source§impl PartialEq for Bridge
impl PartialEq for Bridge
impl StructuralPartialEq for Bridge
Auto Trait Implementations§
impl Freeze for Bridge
impl RefUnwindSafe for Bridge
impl Send for Bridge
impl Sync for Bridge
impl Unpin for Bridge
impl UnwindSafe for Bridge
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