Struct aws_sdk_elasticache::operation::failover_global_replication_group::builders::FailoverGlobalReplicationGroupOutputBuilder
source · #[non_exhaustive]pub struct FailoverGlobalReplicationGroupOutputBuilder { /* private fields */ }
Expand description
A builder for FailoverGlobalReplicationGroupOutput
.
Implementations§
source§impl FailoverGlobalReplicationGroupOutputBuilder
impl FailoverGlobalReplicationGroupOutputBuilder
sourcepub fn global_replication_group(self, input: GlobalReplicationGroup) -> Self
pub fn global_replication_group(self, input: GlobalReplicationGroup) -> Self
Consists of a primary cluster that accepts writes and an associated secondary cluster that resides in a different Amazon region. The secondary cluster accepts only reads. The primary cluster automatically replicates updates to the secondary cluster.
-
The GlobalReplicationGroupIdSuffix represents the name of the Global datastore, which is what you use to associate a secondary cluster.
sourcepub fn set_global_replication_group(
self,
input: Option<GlobalReplicationGroup>,
) -> Self
pub fn set_global_replication_group( self, input: Option<GlobalReplicationGroup>, ) -> Self
Consists of a primary cluster that accepts writes and an associated secondary cluster that resides in a different Amazon region. The secondary cluster accepts only reads. The primary cluster automatically replicates updates to the secondary cluster.
-
The GlobalReplicationGroupIdSuffix represents the name of the Global datastore, which is what you use to associate a secondary cluster.
sourcepub fn get_global_replication_group(&self) -> &Option<GlobalReplicationGroup>
pub fn get_global_replication_group(&self) -> &Option<GlobalReplicationGroup>
Consists of a primary cluster that accepts writes and an associated secondary cluster that resides in a different Amazon region. The secondary cluster accepts only reads. The primary cluster automatically replicates updates to the secondary cluster.
-
The GlobalReplicationGroupIdSuffix represents the name of the Global datastore, which is what you use to associate a secondary cluster.
sourcepub fn build(self) -> FailoverGlobalReplicationGroupOutput
pub fn build(self) -> FailoverGlobalReplicationGroupOutput
Consumes the builder and constructs a FailoverGlobalReplicationGroupOutput
.
Trait Implementations§
source§impl Clone for FailoverGlobalReplicationGroupOutputBuilder
impl Clone for FailoverGlobalReplicationGroupOutputBuilder
source§fn clone(&self) -> FailoverGlobalReplicationGroupOutputBuilder
fn clone(&self) -> FailoverGlobalReplicationGroupOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for FailoverGlobalReplicationGroupOutputBuilder
impl Default for FailoverGlobalReplicationGroupOutputBuilder
source§fn default() -> FailoverGlobalReplicationGroupOutputBuilder
fn default() -> FailoverGlobalReplicationGroupOutputBuilder
source§impl PartialEq for FailoverGlobalReplicationGroupOutputBuilder
impl PartialEq for FailoverGlobalReplicationGroupOutputBuilder
source§fn eq(&self, other: &FailoverGlobalReplicationGroupOutputBuilder) -> bool
fn eq(&self, other: &FailoverGlobalReplicationGroupOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FailoverGlobalReplicationGroupOutputBuilder
Auto Trait Implementations§
impl Freeze for FailoverGlobalReplicationGroupOutputBuilder
impl RefUnwindSafe for FailoverGlobalReplicationGroupOutputBuilder
impl Send for FailoverGlobalReplicationGroupOutputBuilder
impl Sync for FailoverGlobalReplicationGroupOutputBuilder
impl Unpin for FailoverGlobalReplicationGroupOutputBuilder
impl UnwindSafe for FailoverGlobalReplicationGroupOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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