Struct aws_sdk_docdb::types::DbClusterMember
source · #[non_exhaustive]pub struct DbClusterMember {
pub db_instance_identifier: Option<String>,
pub is_cluster_writer: bool,
pub db_cluster_parameter_group_status: Option<String>,
pub promotion_tier: Option<i32>,
}
Expand description
Contains information about an instance that is part of a cluster.
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.db_instance_identifier: Option<String>
Specifies the instance identifier for this member of the cluster.
is_cluster_writer: bool
A value that is true
if the cluster member is the primary instance for the cluster and false
otherwise.
db_cluster_parameter_group_status: Option<String>
Specifies the status of the cluster parameter group for this member of the DB cluster.
promotion_tier: 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.
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() -> DbClusterMemberBuilder
pub fn builder() -> DbClusterMemberBuilder
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DbClusterMember
impl Debug for DbClusterMember
source§impl PartialEq for DbClusterMember
impl PartialEq for DbClusterMember
source§fn eq(&self, other: &DbClusterMember) -> bool
fn eq(&self, other: &DbClusterMember) -> bool
self
and other
values to be equal, and is used
by ==
.