#[non_exhaustive]pub struct AwsRdsDbClusterMemberBuilder { /* private fields */ }
Expand description
A builder for AwsRdsDbClusterMember
.
Implementations§
source§impl AwsRdsDbClusterMemberBuilder
impl AwsRdsDbClusterMemberBuilder
sourcepub fn is_cluster_writer(self, input: bool) -> Self
pub fn is_cluster_writer(self, input: bool) -> Self
Whether the cluster member is the primary instance for the DB cluster.
sourcepub fn set_is_cluster_writer(self, input: Option<bool>) -> Self
pub fn set_is_cluster_writer(self, input: Option<bool>) -> Self
Whether the cluster member is the primary instance for the DB cluster.
sourcepub fn get_is_cluster_writer(&self) -> &Option<bool>
pub fn get_is_cluster_writer(&self) -> &Option<bool>
Whether the cluster member is the primary instance for the DB cluster.
sourcepub fn promotion_tier(self, input: i32) -> Self
pub fn promotion_tier(self, input: i32) -> Self
Specifies the order in which an Aurora replica is promoted to the primary instance when the existing primary instance fails.
sourcepub fn set_promotion_tier(self, input: Option<i32>) -> Self
pub fn set_promotion_tier(self, input: Option<i32>) -> Self
Specifies the order in which an Aurora replica is promoted to the primary instance when the existing primary instance fails.
sourcepub fn get_promotion_tier(&self) -> &Option<i32>
pub fn get_promotion_tier(&self) -> &Option<i32>
Specifies the order in which an Aurora replica is promoted to the primary instance when the existing primary instance fails.
sourcepub fn db_instance_identifier(self, input: impl Into<String>) -> Self
pub fn db_instance_identifier(self, input: impl Into<String>) -> Self
The instance identifier for this member of the DB cluster.
sourcepub fn set_db_instance_identifier(self, input: Option<String>) -> Self
pub fn set_db_instance_identifier(self, input: Option<String>) -> Self
The instance identifier for this member of the DB cluster.
sourcepub fn get_db_instance_identifier(&self) -> &Option<String>
pub fn get_db_instance_identifier(&self) -> &Option<String>
The instance identifier for this member of the DB cluster.
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
The status of the DB 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
The status of the DB 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>
The status of the DB cluster parameter group for this member of the DB cluster.
sourcepub fn build(self) -> AwsRdsDbClusterMember
pub fn build(self) -> AwsRdsDbClusterMember
Consumes the builder and constructs a AwsRdsDbClusterMember
.
Trait Implementations§
source§impl Clone for AwsRdsDbClusterMemberBuilder
impl Clone for AwsRdsDbClusterMemberBuilder
source§fn clone(&self) -> AwsRdsDbClusterMemberBuilder
fn clone(&self) -> AwsRdsDbClusterMemberBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AwsRdsDbClusterMemberBuilder
impl Debug for AwsRdsDbClusterMemberBuilder
source§impl Default for AwsRdsDbClusterMemberBuilder
impl Default for AwsRdsDbClusterMemberBuilder
source§fn default() -> AwsRdsDbClusterMemberBuilder
fn default() -> AwsRdsDbClusterMemberBuilder
source§impl PartialEq for AwsRdsDbClusterMemberBuilder
impl PartialEq for AwsRdsDbClusterMemberBuilder
source§fn eq(&self, other: &AwsRdsDbClusterMemberBuilder) -> bool
fn eq(&self, other: &AwsRdsDbClusterMemberBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AwsRdsDbClusterMemberBuilder
Auto Trait Implementations§
impl Freeze for AwsRdsDbClusterMemberBuilder
impl RefUnwindSafe for AwsRdsDbClusterMemberBuilder
impl Send for AwsRdsDbClusterMemberBuilder
impl Sync for AwsRdsDbClusterMemberBuilder
impl Unpin for AwsRdsDbClusterMemberBuilder
impl UnwindSafe for AwsRdsDbClusterMemberBuilder
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