Struct aws_sdk_docdb::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 Amazon DocumentDB 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 Amazon DocumentDB cluster.
sourcepub fn get_db_cluster_arn(&self) -> &Option<String>
pub fn get_db_cluster_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) for each Amazon DocumentDB 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 cluster.
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 cluster.
sourcepub fn get_readers(&self) -> &Option<Vec<String>>
pub fn get_readers(&self) -> &Option<Vec<String>>
The Amazon Resource Name (ARN) for each read-only secondary cluster associated with the Aurora global cluster.
sourcepub fn is_writer(self, input: bool) -> Self
pub fn is_writer(self, input: bool) -> Self
Specifies whether the Amazon DocumentDB cluster is the primary cluster (that is, has read-write capability) for the Amazon DocumentDB global cluster 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 Amazon DocumentDB cluster is the primary cluster (that is, has read-write capability) for the Amazon DocumentDB global cluster with which it is associated.
sourcepub fn get_is_writer(&self) -> &Option<bool>
pub fn get_is_writer(&self) -> &Option<bool>
Specifies whether the Amazon DocumentDB cluster is the primary cluster (that is, has read-write capability) for the Amazon DocumentDB global cluster with which it is associated.
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 for GlobalClusterMemberBuilder
impl PartialEq 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 ==
.