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 ==.impl StructuralPartialEq for GlobalClusterMemberBuilder
Auto Trait Implementations§
impl Freeze for GlobalClusterMemberBuilder
impl RefUnwindSafe for GlobalClusterMemberBuilder
impl Send for GlobalClusterMemberBuilder
impl Sync for GlobalClusterMemberBuilder
impl Unpin for GlobalClusterMemberBuilder
impl UnwindSafe for GlobalClusterMemberBuilder
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