Struct aws_sdk_elasticache::operation::modify_global_replication_group::builders::ModifyGlobalReplicationGroupOutputBuilder
source · #[non_exhaustive]pub struct ModifyGlobalReplicationGroupOutputBuilder { /* private fields */ }
Expand description
A builder for ModifyGlobalReplicationGroupOutput
.
Implementations§
source§impl ModifyGlobalReplicationGroupOutputBuilder
impl ModifyGlobalReplicationGroupOutputBuilder
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) -> ModifyGlobalReplicationGroupOutput
pub fn build(self) -> ModifyGlobalReplicationGroupOutput
Consumes the builder and constructs a ModifyGlobalReplicationGroupOutput
.
Trait Implementations§
source§impl Clone for ModifyGlobalReplicationGroupOutputBuilder
impl Clone for ModifyGlobalReplicationGroupOutputBuilder
source§fn clone(&self) -> ModifyGlobalReplicationGroupOutputBuilder
fn clone(&self) -> ModifyGlobalReplicationGroupOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ModifyGlobalReplicationGroupOutputBuilder
impl Default for ModifyGlobalReplicationGroupOutputBuilder
source§fn default() -> ModifyGlobalReplicationGroupOutputBuilder
fn default() -> ModifyGlobalReplicationGroupOutputBuilder
source§impl PartialEq for ModifyGlobalReplicationGroupOutputBuilder
impl PartialEq for ModifyGlobalReplicationGroupOutputBuilder
source§fn eq(&self, other: &ModifyGlobalReplicationGroupOutputBuilder) -> bool
fn eq(&self, other: &ModifyGlobalReplicationGroupOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.