Struct aws_sdk_docdb::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 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: Option<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) -> Option<bool>
pub fn is_cluster_writer(&self) -> Option<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 ==
.impl StructuralPartialEq for DbClusterMember
Auto Trait Implementations§
impl Freeze for DbClusterMember
impl RefUnwindSafe for DbClusterMember
impl Send for DbClusterMember
impl Sync for DbClusterMember
impl Unpin for DbClusterMember
impl UnwindSafe for DbClusterMember
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more