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 ==
.impl StructuralPartialEq for FailoverConfigBuilder
Auto Trait Implementations§
impl Freeze for FailoverConfigBuilder
impl RefUnwindSafe for FailoverConfigBuilder
impl Send for FailoverConfigBuilder
impl Sync for FailoverConfigBuilder
impl Unpin for FailoverConfigBuilder
impl UnwindSafe for FailoverConfigBuilder
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