Struct aws_sdk_docdb::types::builders::DbClusterMemberBuilder
source · #[non_exhaustive]pub struct DbClusterMemberBuilder { /* private fields */ }Expand description
A builder for DbClusterMember.
Implementations§
source§impl DbClusterMemberBuilder
impl DbClusterMemberBuilder
sourcepub fn db_instance_identifier(self, input: impl Into<String>) -> Self
pub fn db_instance_identifier(self, input: impl Into<String>) -> Self
Specifies the instance identifier for this member of the cluster.
sourcepub fn set_db_instance_identifier(self, input: Option<String>) -> Self
pub fn set_db_instance_identifier(self, input: Option<String>) -> Self
Specifies the instance identifier for this member of the cluster.
sourcepub fn get_db_instance_identifier(&self) -> &Option<String>
pub fn get_db_instance_identifier(&self) -> &Option<String>
Specifies the instance identifier for this member of the cluster.
sourcepub fn is_cluster_writer(self, input: bool) -> Self
pub fn is_cluster_writer(self, input: bool) -> Self
A value that is true if the cluster member is the primary instance for the cluster and false otherwise.
sourcepub fn set_is_cluster_writer(self, input: Option<bool>) -> Self
pub fn set_is_cluster_writer(self, input: Option<bool>) -> Self
A value that is true if the cluster member is the primary instance for the cluster and false otherwise.
sourcepub fn get_is_cluster_writer(&self) -> &Option<bool>
pub fn get_is_cluster_writer(&self) -> &Option<bool>
A value that is true if the cluster member is the primary instance for the cluster and false otherwise.
sourcepub fn db_cluster_parameter_group_status(self, input: impl Into<String>) -> Self
pub fn db_cluster_parameter_group_status(self, input: impl Into<String>) -> Self
Specifies the status of the cluster parameter group for this member of the DB cluster.
sourcepub fn set_db_cluster_parameter_group_status(
self,
input: Option<String>,
) -> Self
pub fn set_db_cluster_parameter_group_status( self, input: Option<String>, ) -> Self
Specifies the status of the cluster parameter group for this member of the DB cluster.
sourcepub fn get_db_cluster_parameter_group_status(&self) -> &Option<String>
pub fn get_db_cluster_parameter_group_status(&self) -> &Option<String>
Specifies the status of the cluster parameter group for this member of the DB cluster.
sourcepub fn promotion_tier(self, input: i32) -> Self
pub fn promotion_tier(self, input: i32) -> Self
A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance.
sourcepub fn set_promotion_tier(self, input: Option<i32>) -> Self
pub fn set_promotion_tier(self, input: Option<i32>) -> Self
A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance.
sourcepub fn get_promotion_tier(&self) -> &Option<i32>
pub fn get_promotion_tier(&self) -> &Option<i32>
A value that specifies the order in which an Amazon DocumentDB replica is promoted to the primary instance after a failure of the existing primary instance.
sourcepub fn build(self) -> DbClusterMember
pub fn build(self) -> DbClusterMember
Consumes the builder and constructs a DbClusterMember.
Trait Implementations§
source§impl Clone for DbClusterMemberBuilder
impl Clone for DbClusterMemberBuilder
source§fn clone(&self) -> DbClusterMemberBuilder
fn clone(&self) -> DbClusterMemberBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DbClusterMemberBuilder
impl Debug for DbClusterMemberBuilder
source§impl Default for DbClusterMemberBuilder
impl Default for DbClusterMemberBuilder
source§fn default() -> DbClusterMemberBuilder
fn default() -> DbClusterMemberBuilder
source§impl PartialEq for DbClusterMemberBuilder
impl PartialEq for DbClusterMemberBuilder
impl StructuralPartialEq for DbClusterMemberBuilder
Auto Trait Implementations§
impl Freeze for DbClusterMemberBuilder
impl RefUnwindSafe for DbClusterMemberBuilder
impl Send for DbClusterMemberBuilder
impl Sync for DbClusterMemberBuilder
impl Unpin for DbClusterMemberBuilder
impl UnwindSafe for DbClusterMemberBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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