Struct aws_sdk_rds::model::db_cluster_member::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for DbClusterMember.
Implementations
sourceimpl Builder
impl Builder
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 DB 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 DB cluster.
sourcepub fn is_cluster_writer(self, input: bool) -> Self
pub fn is_cluster_writer(self, input: bool) -> Self
Value that is true if the cluster member is the primary instance for the DB 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
Value that is true if the cluster member is the primary instance for the DB 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 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
Specifies the status of the DB 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 Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide.
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 Aurora Replica is promoted to the primary instance after a failure of the existing primary instance. For more information, see Fault Tolerance for an Aurora DB Cluster in the Amazon Aurora User Guide.
sourcepub fn build(self) -> DbClusterMember
pub fn build(self) -> DbClusterMember
Consumes the builder and constructs a DbClusterMember.