Struct aws_sdk_rds::operation::create_db_parameter_group::builders::CreateDbParameterGroupInputBuilder
source · #[non_exhaustive]pub struct CreateDbParameterGroupInputBuilder { /* private fields */ }Expand description
A builder for CreateDbParameterGroupInput.
Implementations§
source§impl CreateDbParameterGroupInputBuilder
impl CreateDbParameterGroupInputBuilder
sourcepub fn db_parameter_group_name(self, input: impl Into<String>) -> Self
pub fn db_parameter_group_name(self, input: impl Into<String>) -> Self
The name of the DB parameter group.
Constraints:
-
Must be 1 to 255 letters, numbers, or hyphens.
-
First character must be a letter
-
Can't end with a hyphen or contain two consecutive hyphens
This value is stored as a lowercase string.
sourcepub fn set_db_parameter_group_name(self, input: Option<String>) -> Self
pub fn set_db_parameter_group_name(self, input: Option<String>) -> Self
The name of the DB parameter group.
Constraints:
-
Must be 1 to 255 letters, numbers, or hyphens.
-
First character must be a letter
-
Can't end with a hyphen or contain two consecutive hyphens
This value is stored as a lowercase string.
sourcepub fn get_db_parameter_group_name(&self) -> &Option<String>
pub fn get_db_parameter_group_name(&self) -> &Option<String>
The name of the DB parameter group.
Constraints:
-
Must be 1 to 255 letters, numbers, or hyphens.
-
First character must be a letter
-
Can't end with a hyphen or contain two consecutive hyphens
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 parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine and engine version compatible with that DB parameter group family.
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 MySQL DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine mysql
The output contains duplicates.
The following are the valid DB engine values:
-
aurora-mysql -
aurora-postgresql -
db2-ae -
db2-se -
mysql -
oracle-ee -
oracle-ee-cdb -
oracle-se2 -
oracle-se2-cdb -
postgres -
sqlserver-ee -
sqlserver-se -
sqlserver-ex -
sqlserver-web
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 parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine and engine version compatible with that DB parameter group family.
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 MySQL DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine mysql
The output contains duplicates.
The following are the valid DB engine values:
-
aurora-mysql -
aurora-postgresql -
db2-ae -
db2-se -
mysql -
oracle-ee -
oracle-ee-cdb -
oracle-se2 -
oracle-se2-cdb -
postgres -
sqlserver-ee -
sqlserver-se -
sqlserver-ex -
sqlserver-web
sourcepub fn get_db_parameter_group_family(&self) -> &Option<String>
pub fn get_db_parameter_group_family(&self) -> &Option<String>
The DB parameter group family name. A DB parameter group can be associated with one and only one DB parameter group family, and can be applied only to a DB instance running a database engine and engine version compatible with that DB parameter group family.
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 MySQL DB engine, use the following command:
aws rds describe-db-engine-versions --query "DBEngineVersions[].DBParameterGroupFamily" --engine mysql
The output contains duplicates.
The following are the valid DB engine values:
-
aurora-mysql -
aurora-postgresql -
db2-ae -
db2-se -
mysql -
oracle-ee -
oracle-ee-cdb -
oracle-se2 -
oracle-se2-cdb -
postgres -
sqlserver-ee -
sqlserver-se -
sqlserver-ex -
sqlserver-web
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description for the DB 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 parameter group.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description for the DB parameter group.
Appends an item to tags.
To override the contents of this collection use set_tags.
Tags to assign to the DB parameter group.
Tags to assign to the DB parameter group.
Tags to assign to the DB parameter group.
sourcepub fn build(self) -> Result<CreateDbParameterGroupInput, BuildError>
pub fn build(self) -> Result<CreateDbParameterGroupInput, BuildError>
Consumes the builder and constructs a CreateDbParameterGroupInput.
source§impl CreateDbParameterGroupInputBuilder
impl CreateDbParameterGroupInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateDbParameterGroupOutput, SdkError<CreateDBParameterGroupError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateDbParameterGroupOutput, SdkError<CreateDBParameterGroupError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDbParameterGroupInputBuilder
impl Clone for CreateDbParameterGroupInputBuilder
source§fn clone(&self) -> CreateDbParameterGroupInputBuilder
fn clone(&self) -> CreateDbParameterGroupInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateDbParameterGroupInputBuilder
impl Default for CreateDbParameterGroupInputBuilder
source§fn default() -> CreateDbParameterGroupInputBuilder
fn default() -> CreateDbParameterGroupInputBuilder
source§impl PartialEq for CreateDbParameterGroupInputBuilder
impl PartialEq for CreateDbParameterGroupInputBuilder
source§fn eq(&self, other: &CreateDbParameterGroupInputBuilder) -> bool
fn eq(&self, other: &CreateDbParameterGroupInputBuilder) -> bool
self and other values to be equal, and is used
by ==.