Struct aws_sdk_rds::types::GlobalClusterMember
source · #[non_exhaustive]pub struct GlobalClusterMember {
pub db_cluster_arn: Option<String>,
pub readers: Option<Vec<String>>,
pub is_writer: Option<bool>,
pub global_write_forwarding_status: Option<WriteForwardingStatus>,
pub synchronization_status: Option<GlobalClusterMemberSynchronizationStatus>,
}Expand description
A data structure with information about any primary and secondary clusters associated with a global cluster (Aurora global database).
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_cluster_arn: Option<String>The Amazon Resource Name (ARN) for each Aurora DB cluster in the global cluster.
readers: Option<Vec<String>>The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the global cluster.
is_writer: Option<bool>Indicates whether the Aurora DB cluster is the primary cluster (that is, has read-write capability) for the global cluster with which it is associated.
global_write_forwarding_status: Option<WriteForwardingStatus>The status of write forwarding for a secondary cluster in the global cluster.
synchronization_status: Option<GlobalClusterMemberSynchronizationStatus>The status of synchronization of each Aurora DB cluster in the global cluster.
Implementations§
source§impl GlobalClusterMember
impl GlobalClusterMember
sourcepub fn db_cluster_arn(&self) -> Option<&str>
pub fn db_cluster_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) for each Aurora DB cluster in the global cluster.
sourcepub fn readers(&self) -> &[String]
pub fn readers(&self) -> &[String]
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the global cluster.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .readers.is_none().
sourcepub fn is_writer(&self) -> Option<bool>
pub fn is_writer(&self) -> Option<bool>
Indicates whether the Aurora DB cluster is the primary cluster (that is, has read-write capability) for the global cluster with which it is associated.
sourcepub fn global_write_forwarding_status(&self) -> Option<&WriteForwardingStatus>
pub fn global_write_forwarding_status(&self) -> Option<&WriteForwardingStatus>
The status of write forwarding for a secondary cluster in the global cluster.
sourcepub fn synchronization_status(
&self,
) -> Option<&GlobalClusterMemberSynchronizationStatus>
pub fn synchronization_status( &self, ) -> Option<&GlobalClusterMemberSynchronizationStatus>
The status of synchronization of each Aurora DB cluster in the global cluster.
source§impl GlobalClusterMember
impl GlobalClusterMember
sourcepub fn builder() -> GlobalClusterMemberBuilder
pub fn builder() -> GlobalClusterMemberBuilder
Creates a new builder-style object to manufacture GlobalClusterMember.
Trait Implementations§
source§impl Clone for GlobalClusterMember
impl Clone for GlobalClusterMember
source§fn clone(&self) -> GlobalClusterMember
fn clone(&self) -> GlobalClusterMember
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GlobalClusterMember
impl Debug for GlobalClusterMember
source§impl PartialEq for GlobalClusterMember
impl PartialEq for GlobalClusterMember
source§fn eq(&self, other: &GlobalClusterMember) -> bool
fn eq(&self, other: &GlobalClusterMember) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for GlobalClusterMember
Auto Trait Implementations§
impl Freeze for GlobalClusterMember
impl RefUnwindSafe for GlobalClusterMember
impl Send for GlobalClusterMember
impl Sync for GlobalClusterMember
impl Unpin for GlobalClusterMember
impl UnwindSafe for GlobalClusterMember
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