#[non_exhaustive]pub struct CreateBridgeInput {
pub egress_gateway_bridge: Option<AddEgressGatewayBridgeRequest>,
pub ingress_gateway_bridge: Option<AddIngressGatewayBridgeRequest>,
pub name: Option<String>,
pub outputs: Option<Vec<AddBridgeOutputRequest>>,
pub placement_arn: Option<String>,
pub source_failover_config: Option<FailoverConfig>,
pub sources: Option<Vec<AddBridgeSourceRequest>>,
}Expand description
Creates a new bridge. The request must include one source.
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.egress_gateway_bridge: Option<AddEgressGatewayBridgeRequest>Create a bridge with the egress bridge type. An egress bridge is a cloud-to-ground bridge. The content comes from an existing MediaConnect flow and is delivered to your premises.
ingress_gateway_bridge: Option<AddIngressGatewayBridgeRequest>Create a bridge with the ingress bridge type. An ingress bridge is a ground-to-cloud bridge. The content originates at your premises and is delivered to the cloud.
name: Option<String>The name of the bridge. This name can not be modified after the bridge is created.
outputs: Option<Vec<AddBridgeOutputRequest>>The outputs that you want to add to this bridge.
placement_arn: Option<String>The bridge placement Amazon Resource Number (ARN).
source_failover_config: Option<FailoverConfig>The settings for source failover.
sources: Option<Vec<AddBridgeSourceRequest>>The sources that you want to add to this bridge.
Implementations§
source§impl CreateBridgeInput
impl CreateBridgeInput
sourcepub fn egress_gateway_bridge(&self) -> Option<&AddEgressGatewayBridgeRequest>
pub fn egress_gateway_bridge(&self) -> Option<&AddEgressGatewayBridgeRequest>
Create a bridge with the egress bridge type. An egress bridge is a cloud-to-ground bridge. The content comes from an existing MediaConnect flow and is delivered to your premises.
sourcepub fn ingress_gateway_bridge(&self) -> Option<&AddIngressGatewayBridgeRequest>
pub fn ingress_gateway_bridge(&self) -> Option<&AddIngressGatewayBridgeRequest>
Create a bridge with the ingress bridge type. An ingress bridge is a ground-to-cloud bridge. The content originates at your premises and is delivered to the cloud.
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the bridge. This name can not be modified after the bridge is created.
sourcepub fn outputs(&self) -> &[AddBridgeOutputRequest]
pub fn outputs(&self) -> &[AddBridgeOutputRequest]
The outputs that you want to add to 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 bridge placement Amazon Resource Number (ARN).
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) -> &[AddBridgeSourceRequest]
pub fn sources(&self) -> &[AddBridgeSourceRequest]
The sources that you want to add to 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().
source§impl CreateBridgeInput
impl CreateBridgeInput
sourcepub fn builder() -> CreateBridgeInputBuilder
pub fn builder() -> CreateBridgeInputBuilder
Creates a new builder-style object to manufacture CreateBridgeInput.
Trait Implementations§
source§impl Clone for CreateBridgeInput
impl Clone for CreateBridgeInput
source§fn clone(&self) -> CreateBridgeInput
fn clone(&self) -> CreateBridgeInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateBridgeInput
impl Debug for CreateBridgeInput
source§impl PartialEq for CreateBridgeInput
impl PartialEq for CreateBridgeInput
source§fn eq(&self, other: &CreateBridgeInput) -> bool
fn eq(&self, other: &CreateBridgeInput) -> bool
self and other values to be equal, and is used
by ==.