#[non_exhaustive]pub struct UpdateFailoverConfigBuilder { /* private fields */ }Expand description
A builder for UpdateFailoverConfig.
Implementations§
source§impl UpdateFailoverConfigBuilder
impl UpdateFailoverConfigBuilder
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
Recovery 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
Recovery window time to look for dash-7 packets
sourcepub fn get_recovery_window(&self) -> &Option<i32>
pub fn get_recovery_window(&self) -> &Option<i32>
Recovery 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) -> UpdateFailoverConfig
pub fn build(self) -> UpdateFailoverConfig
Consumes the builder and constructs a UpdateFailoverConfig.
Trait Implementations§
source§impl Clone for UpdateFailoverConfigBuilder
impl Clone for UpdateFailoverConfigBuilder
source§fn clone(&self) -> UpdateFailoverConfigBuilder
fn clone(&self) -> UpdateFailoverConfigBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for UpdateFailoverConfigBuilder
impl Debug for UpdateFailoverConfigBuilder
source§impl Default for UpdateFailoverConfigBuilder
impl Default for UpdateFailoverConfigBuilder
source§fn default() -> UpdateFailoverConfigBuilder
fn default() -> UpdateFailoverConfigBuilder
source§impl PartialEq for UpdateFailoverConfigBuilder
impl PartialEq for UpdateFailoverConfigBuilder
source§fn eq(&self, other: &UpdateFailoverConfigBuilder) -> bool
fn eq(&self, other: &UpdateFailoverConfigBuilder) -> bool
self and other values to be equal, and is used
by ==.