Struct aws_sdk_docdb::model::DbClusterMember
source · #[non_exhaustive]pub struct DbClusterMember { /* private fields */ }Expand description
Contains information about an instance that is part of a cluster.
Implementations§
source§impl DbClusterMember
impl DbClusterMember
sourcepub fn db_instance_identifier(&self) -> Option<&str>
pub fn db_instance_identifier(&self) -> Option<&str>
Specifies the instance identifier for this member of the cluster.
sourcepub fn is_cluster_writer(&self) -> bool
pub fn is_cluster_writer(&self) -> bool
A value that is true if the cluster member is the primary instance for the cluster and false otherwise.
sourcepub fn db_cluster_parameter_group_status(&self) -> Option<&str>
pub fn db_cluster_parameter_group_status(&self) -> Option<&str>
Specifies the status of the cluster parameter group for this member of the DB cluster.
sourcepub fn promotion_tier(&self) -> Option<i32>
pub fn promotion_tier(&self) -> Option<i32>
A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance.
source§impl DbClusterMember
impl DbClusterMember
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture DbClusterMember.
Trait Implementations§
source§impl Clone for DbClusterMember
impl Clone for DbClusterMember
source§fn clone(&self) -> DbClusterMember
fn clone(&self) -> DbClusterMember
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DbClusterMember
impl Debug for DbClusterMember
source§impl PartialEq<DbClusterMember> for DbClusterMember
impl PartialEq<DbClusterMember> for DbClusterMember
source§fn eq(&self, other: &DbClusterMember) -> bool
fn eq(&self, other: &DbClusterMember) -> bool
This method tests for
self and other values to be equal, and is used
by ==.