pub struct Builder { /* private fields */ }
Expand description
A builder for AwsRdsDbClusterMember
.
Implementations§
source§impl Builder
impl Builder
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 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 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 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 build(self) -> AwsRdsDbClusterMember
pub fn build(self) -> AwsRdsDbClusterMember
Consumes the builder and constructs a AwsRdsDbClusterMember
.