Struct aws_sdk_rds::operation::create_db_cluster_parameter_group::builders::CreateDbClusterParameterGroupInputBuilder
source · #[non_exhaustive]pub struct CreateDbClusterParameterGroupInputBuilder { /* private fields */ }Expand description
A builder for CreateDbClusterParameterGroupInput.
Implementations§
source§impl CreateDbClusterParameterGroupInputBuilder
impl CreateDbClusterParameterGroupInputBuilder
sourcepub fn db_cluster_parameter_group_name(self, input: impl Into<String>) -> Self
pub fn db_cluster_parameter_group_name(self, input: impl Into<String>) -> Self
The name of the DB cluster parameter group.
Constraints:
-
Must not match the name of an existing DB cluster parameter group.
This value is stored as a lowercase string.
sourcepub fn set_db_cluster_parameter_group_name(self, input: Option<String>) -> Self
pub fn set_db_cluster_parameter_group_name(self, input: Option<String>) -> Self
The name of the DB cluster parameter group.
Constraints:
-
Must not match the name of an existing DB cluster parameter group.
This value is stored as a lowercase string.
sourcepub fn get_db_cluster_parameter_group_name(&self) -> &Option<String>
pub fn get_db_cluster_parameter_group_name(&self) -> &Option<String>
The name of the DB cluster parameter group.
Constraints:
-
Must not match the name of an existing DB cluster parameter group.
This value is stored as a lowercase string.
sourcepub fn db_parameter_group_family(self, input: impl Into<String>) -> Self
pub fn db_parameter_group_family(self, input: impl Into<String>) -> Self
The DB cluster parameter group family name. A DB cluster parameter group can be associated with one and only one DB cluster parameter group family, and can be applied only to a DB cluster running a database engine and engine version compatible with that DB cluster parameter group family.
Aurora MySQL
Example: aurora-mysql5.7, aurora-mysql8.0
Aurora PostgreSQL
Example: aurora-postgresql14
RDS for MySQL
Example: mysql8.0
RDS for PostgreSQL
Example: postgres12
To list all of the available parameter group families for a DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine
For example, to list all of the available parameter group families for the Aurora PostgreSQL DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine aurora-postgresql
The output contains duplicates.
The following are the valid DB engine values:
-
aurora-mysql -
aurora-postgresql -
mysql -
postgres
sourcepub fn set_db_parameter_group_family(self, input: Option<String>) -> Self
pub fn set_db_parameter_group_family(self, input: Option<String>) -> Self
The DB cluster parameter group family name. A DB cluster parameter group can be associated with one and only one DB cluster parameter group family, and can be applied only to a DB cluster running a database engine and engine version compatible with that DB cluster parameter group family.
Aurora MySQL
Example: aurora-mysql5.7, aurora-mysql8.0
Aurora PostgreSQL
Example: aurora-postgresql14
RDS for MySQL
Example: mysql8.0
RDS for PostgreSQL
Example: postgres12
To list all of the available parameter group families for a DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine
For example, to list all of the available parameter group families for the Aurora PostgreSQL DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine aurora-postgresql
The output contains duplicates.
The following are the valid DB engine values:
-
aurora-mysql -
aurora-postgresql -
mysql -
postgres
sourcepub fn get_db_parameter_group_family(&self) -> &Option<String>
pub fn get_db_parameter_group_family(&self) -> &Option<String>
The DB cluster parameter group family name. A DB cluster parameter group can be associated with one and only one DB cluster parameter group family, and can be applied only to a DB cluster running a database engine and engine version compatible with that DB cluster parameter group family.
Aurora MySQL
Example: aurora-mysql5.7, aurora-mysql8.0
Aurora PostgreSQL
Example: aurora-postgresql14
RDS for MySQL
Example: mysql8.0
RDS for PostgreSQL
Example: postgres12
To list all of the available parameter group families for a DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine
For example, to list all of the available parameter group families for the Aurora PostgreSQL DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine aurora-postgresql
The output contains duplicates.
The following are the valid DB engine values:
-
aurora-mysql -
aurora-postgresql -
mysql -
postgres
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for the DB cluster parameter group.
This field is required.sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description for the DB cluster parameter group.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description for the DB cluster parameter group.
Appends an item to tags.
To override the contents of this collection use set_tags.
Tags to assign to the DB cluster parameter group.
Tags to assign to the DB cluster parameter group.
Tags to assign to the DB cluster parameter group.
sourcepub fn build(self) -> Result<CreateDbClusterParameterGroupInput, BuildError>
pub fn build(self) -> Result<CreateDbClusterParameterGroupInput, BuildError>
Consumes the builder and constructs a CreateDbClusterParameterGroupInput.
source§impl CreateDbClusterParameterGroupInputBuilder
impl CreateDbClusterParameterGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateDbClusterParameterGroupOutput, SdkError<CreateDBClusterParameterGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateDbClusterParameterGroupOutput, SdkError<CreateDBClusterParameterGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDbClusterParameterGroupInputBuilder
impl Clone for CreateDbClusterParameterGroupInputBuilder
source§fn clone(&self) -> CreateDbClusterParameterGroupInputBuilder
fn clone(&self) -> CreateDbClusterParameterGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateDbClusterParameterGroupInputBuilder
impl Default for CreateDbClusterParameterGroupInputBuilder
source§fn default() -> CreateDbClusterParameterGroupInputBuilder
fn default() -> CreateDbClusterParameterGroupInputBuilder
source§impl PartialEq for CreateDbClusterParameterGroupInputBuilder
impl PartialEq for CreateDbClusterParameterGroupInputBuilder
source§fn eq(&self, other: &CreateDbClusterParameterGroupInputBuilder) -> bool
fn eq(&self, other: &CreateDbClusterParameterGroupInputBuilder) -> bool
self and other values to be equal, and is used
by ==.