Struct aws_sdk_rds::types::DbClusterMember
source · #[non_exhaustive]pub struct DbClusterMember {
pub db_instance_identifier: Option<String>,
pub is_cluster_writer: Option<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 DB 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 DB cluster.
is_cluster_writer: Option<bool>
Indicates whether the cluster member is the primary DB instance for the DB cluster.
db_cluster_parameter_group_status: Option<String>
Specifies the status of the DB cluster parameter group for this member of the DB cluster.
promotion_tier: Option<i32>
A value that specifies the order in which an Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide.
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 DB cluster.
sourcepub fn is_cluster_writer(&self) -> Option<bool>
pub fn is_cluster_writer(&self) -> Option<bool>
Indicates whether the cluster member is the primary DB instance for the DB cluster.
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 DB 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 Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide.
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 ==
.