#[non_exhaustive]pub struct GlobalReplicationGroupMember {
pub replication_group_id: Option<String>,
pub replication_group_region: Option<String>,
pub role: Option<String>,
pub automatic_failover: Option<AutomaticFailoverStatus>,
pub status: Option<String>,
}
Expand description
A member of a Global datastore. It contains the Replication Group Id, the Amazon region and the role of the replication group.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.replication_group_id: Option<String>
The replication group id of the Global datastore member.
replication_group_region: Option<String>
The Amazon region of the Global datastore member.
role: Option<String>
Indicates the role of the replication group, primary or secondary.
automatic_failover: Option<AutomaticFailoverStatus>
Indicates whether automatic failover is enabled for the replication group.
status: Option<String>
The status of the membership of the replication group.
Implementations§
source§impl GlobalReplicationGroupMember
impl GlobalReplicationGroupMember
sourcepub fn replication_group_id(&self) -> Option<&str>
pub fn replication_group_id(&self) -> Option<&str>
The replication group id of the Global datastore member.
sourcepub fn replication_group_region(&self) -> Option<&str>
pub fn replication_group_region(&self) -> Option<&str>
The Amazon region of the Global datastore member.
sourcepub fn role(&self) -> Option<&str>
pub fn role(&self) -> Option<&str>
Indicates the role of the replication group, primary or secondary.
sourcepub fn automatic_failover(&self) -> Option<&AutomaticFailoverStatus>
pub fn automatic_failover(&self) -> Option<&AutomaticFailoverStatus>
Indicates whether automatic failover is enabled for the replication group.
source§impl GlobalReplicationGroupMember
impl GlobalReplicationGroupMember
sourcepub fn builder() -> GlobalReplicationGroupMemberBuilder
pub fn builder() -> GlobalReplicationGroupMemberBuilder
Creates a new builder-style object to manufacture GlobalReplicationGroupMember
.
Trait Implementations§
source§impl Clone for GlobalReplicationGroupMember
impl Clone for GlobalReplicationGroupMember
source§fn clone(&self) -> GlobalReplicationGroupMember
fn clone(&self) -> GlobalReplicationGroupMember
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for GlobalReplicationGroupMember
impl Debug for GlobalReplicationGroupMember
source§impl PartialEq for GlobalReplicationGroupMember
impl PartialEq for GlobalReplicationGroupMember
source§fn eq(&self, other: &GlobalReplicationGroupMember) -> bool
fn eq(&self, other: &GlobalReplicationGroupMember) -> bool
self
and other
values to be equal, and is used
by ==
.