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 ==.