Struct aws_sdk_rds::types::builders::GlobalClusterMemberBuilder
source · #[non_exhaustive]pub struct GlobalClusterMemberBuilder { /* private fields */ }Expand description
A builder for GlobalClusterMember.
Implementations§
source§impl GlobalClusterMemberBuilder
impl GlobalClusterMemberBuilder
sourcepub fn db_cluster_arn(self, input: impl Into<String>) -> Self
pub fn db_cluster_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) for each Aurora cluster.
sourcepub fn set_db_cluster_arn(self, input: Option<String>) -> Self
pub fn set_db_cluster_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) for each Aurora cluster.
sourcepub fn readers(self, input: impl Into<String>) -> Self
pub fn readers(self, input: impl Into<String>) -> Self
Appends an item to readers.
To override the contents of this collection use set_readers.
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the Aurora global database.
sourcepub fn set_readers(self, input: Option<Vec<String>>) -> Self
pub fn set_readers(self, input: Option<Vec<String>>) -> Self
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the Aurora global database.
sourcepub fn is_writer(self, input: bool) -> Self
pub fn is_writer(self, input: bool) -> Self
Specifies whether the Aurora cluster is the primary cluster (that is, has read-write capability) for the Aurora global database with which it is associated.
sourcepub fn set_is_writer(self, input: Option<bool>) -> Self
pub fn set_is_writer(self, input: Option<bool>) -> Self
Specifies whether the Aurora cluster is the primary cluster (that is, has read-write capability) for the Aurora global database with which it is associated.
sourcepub fn global_write_forwarding_status(
self,
input: WriteForwardingStatus
) -> Self
pub fn global_write_forwarding_status( self, input: WriteForwardingStatus ) -> Self
Specifies whether a secondary cluster in an Aurora global database has write forwarding enabled, not enabled, or is in the process of enabling it.
sourcepub fn set_global_write_forwarding_status(
self,
input: Option<WriteForwardingStatus>
) -> Self
pub fn set_global_write_forwarding_status( self, input: Option<WriteForwardingStatus> ) -> Self
Specifies whether a secondary cluster in an Aurora global database has write forwarding enabled, not enabled, or is in the process of enabling it.
sourcepub fn build(self) -> GlobalClusterMember
pub fn build(self) -> GlobalClusterMember
Consumes the builder and constructs a GlobalClusterMember.
Trait Implementations§
source§impl Clone for GlobalClusterMemberBuilder
impl Clone for GlobalClusterMemberBuilder
source§fn clone(&self) -> GlobalClusterMemberBuilder
fn clone(&self) -> GlobalClusterMemberBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for GlobalClusterMemberBuilder
impl Debug for GlobalClusterMemberBuilder
source§impl Default for GlobalClusterMemberBuilder
impl Default for GlobalClusterMemberBuilder
source§fn default() -> GlobalClusterMemberBuilder
fn default() -> GlobalClusterMemberBuilder
source§impl PartialEq<GlobalClusterMemberBuilder> for GlobalClusterMemberBuilder
impl PartialEq<GlobalClusterMemberBuilder> for GlobalClusterMemberBuilder
source§fn eq(&self, other: &GlobalClusterMemberBuilder) -> bool
fn eq(&self, other: &GlobalClusterMemberBuilder) -> bool
self and other values to be equal, and is used
by ==.