Struct aws_sdk_mediaconnect::types::builders::FailoverConfigBuilder
source · #[non_exhaustive]pub struct FailoverConfigBuilder { /* private fields */ }Expand description
A builder for FailoverConfig.
Implementations§
source§impl FailoverConfigBuilder
impl FailoverConfigBuilder
sourcepub fn failover_mode(self, input: FailoverMode) -> Self
pub fn failover_mode(self, input: FailoverMode) -> Self
The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.
sourcepub fn set_failover_mode(self, input: Option<FailoverMode>) -> Self
pub fn set_failover_mode(self, input: Option<FailoverMode>) -> Self
The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.
sourcepub fn get_failover_mode(&self) -> &Option<FailoverMode>
pub fn get_failover_mode(&self) -> &Option<FailoverMode>
The type of failover you choose for this flow. MERGE combines the source streams into a single stream, allowing graceful recovery from any single-source loss. FAILOVER allows switching between different streams.
sourcepub fn recovery_window(self, input: i32) -> Self
pub fn recovery_window(self, input: i32) -> Self
Search window time to look for dash-7 packets
sourcepub fn set_recovery_window(self, input: Option<i32>) -> Self
pub fn set_recovery_window(self, input: Option<i32>) -> Self
Search window time to look for dash-7 packets
sourcepub fn get_recovery_window(&self) -> &Option<i32>
pub fn get_recovery_window(&self) -> &Option<i32>
Search window time to look for dash-7 packets
sourcepub fn source_priority(self, input: SourcePriority) -> Self
pub fn source_priority(self, input: SourcePriority) -> Self
The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.
sourcepub fn set_source_priority(self, input: Option<SourcePriority>) -> Self
pub fn set_source_priority(self, input: Option<SourcePriority>) -> Self
The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.
sourcepub fn get_source_priority(&self) -> &Option<SourcePriority>
pub fn get_source_priority(&self) -> &Option<SourcePriority>
The priority you want to assign to a source. You can have a primary stream and a backup stream or two equally prioritized streams.
pub fn state(self, input: State) -> Self
pub fn set_state(self, input: Option<State>) -> Self
pub fn get_state(&self) -> &Option<State>
sourcepub fn build(self) -> FailoverConfig
pub fn build(self) -> FailoverConfig
Consumes the builder and constructs a FailoverConfig.
Trait Implementations§
source§impl Clone for FailoverConfigBuilder
impl Clone for FailoverConfigBuilder
source§fn clone(&self) -> FailoverConfigBuilder
fn clone(&self) -> FailoverConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for FailoverConfigBuilder
impl Debug for FailoverConfigBuilder
source§impl Default for FailoverConfigBuilder
impl Default for FailoverConfigBuilder
source§fn default() -> FailoverConfigBuilder
fn default() -> FailoverConfigBuilder
source§impl PartialEq for FailoverConfigBuilder
impl PartialEq for FailoverConfigBuilder
source§fn eq(&self, other: &FailoverConfigBuilder) -> bool
fn eq(&self, other: &FailoverConfigBuilder) -> bool
self and other values to be equal, and is used
by ==.