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
source§fn eq(&self, other: &DbClusterMemberBuilder) -> bool
fn eq(&self, other: &DbClusterMemberBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.