#[non_exhaustive]pub struct CreateTenantDatabaseInput {
pub db_instance_identifier: Option<String>,
pub tenant_db_name: Option<String>,
pub master_username: Option<String>,
pub master_user_password: Option<String>,
pub character_set_name: Option<String>,
pub nchar_character_set_name: Option<String>,
pub tags: Option<Vec<Tag>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.db_instance_identifier: Option<String>The user-supplied DB instance identifier. RDS creates your tenant database in this DB instance. This parameter isn't case-sensitive.
tenant_db_name: Option<String>The user-supplied name of the tenant database that you want to create in your DB instance. This parameter has the same constraints as DBName in CreateDBInstance.
master_username: Option<String>The name for the master user account in your tenant database. RDS creates this user account in the tenant database and grants privileges to the master user. This parameter is case-sensitive.
Constraints:
-
Must be 1 to 16 letters, numbers, or underscores.
-
First character must be a letter.
-
Can't be a reserved word for the chosen database engine.
master_user_password: Option<String>The password for the master user in your tenant database.
Constraints:
-
Must be 8 to 30 characters.
-
Can include any printable ASCII character except forward slash (
/), double quote ("), at symbol (@), ampersand (&), or single quote (').
character_set_name: Option<String>The character set for your tenant database. If you don't specify a value, the character set name defaults to AL32UTF8.
nchar_character_set_name: Option<String>The NCHAR value for the tenant database.
A list of tags. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.
Implementations§
source§impl CreateTenantDatabaseInput
impl CreateTenantDatabaseInput
sourcepub fn db_instance_identifier(&self) -> Option<&str>
pub fn db_instance_identifier(&self) -> Option<&str>
The user-supplied DB instance identifier. RDS creates your tenant database in this DB instance. This parameter isn't case-sensitive.
sourcepub fn tenant_db_name(&self) -> Option<&str>
pub fn tenant_db_name(&self) -> Option<&str>
The user-supplied name of the tenant database that you want to create in your DB instance. This parameter has the same constraints as DBName in CreateDBInstance.
sourcepub fn master_username(&self) -> Option<&str>
pub fn master_username(&self) -> Option<&str>
The name for the master user account in your tenant database. RDS creates this user account in the tenant database and grants privileges to the master user. This parameter is case-sensitive.
Constraints:
-
Must be 1 to 16 letters, numbers, or underscores.
-
First character must be a letter.
-
Can't be a reserved word for the chosen database engine.
sourcepub fn master_user_password(&self) -> Option<&str>
pub fn master_user_password(&self) -> Option<&str>
The password for the master user in your tenant database.
Constraints:
-
Must be 8 to 30 characters.
-
Can include any printable ASCII character except forward slash (
/), double quote ("), at symbol (@), ampersand (&), or single quote (').
sourcepub fn character_set_name(&self) -> Option<&str>
pub fn character_set_name(&self) -> Option<&str>
The character set for your tenant database. If you don't specify a value, the character set name defaults to AL32UTF8.
sourcepub fn nchar_character_set_name(&self) -> Option<&str>
pub fn nchar_character_set_name(&self) -> Option<&str>
The NCHAR value for the tenant database.
A list of tags. For more information, see Tagging Amazon RDS Resources in the Amazon RDS User Guide.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl CreateTenantDatabaseInput
impl CreateTenantDatabaseInput
sourcepub fn builder() -> CreateTenantDatabaseInputBuilder
pub fn builder() -> CreateTenantDatabaseInputBuilder
Creates a new builder-style object to manufacture CreateTenantDatabaseInput.
Trait Implementations§
source§impl Clone for CreateTenantDatabaseInput
impl Clone for CreateTenantDatabaseInput
source§fn clone(&self) -> CreateTenantDatabaseInput
fn clone(&self) -> CreateTenantDatabaseInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateTenantDatabaseInput
impl Debug for CreateTenantDatabaseInput
source§impl PartialEq for CreateTenantDatabaseInput
impl PartialEq for CreateTenantDatabaseInput
source§fn eq(&self, other: &CreateTenantDatabaseInput) -> bool
fn eq(&self, other: &CreateTenantDatabaseInput) -> bool
self and other values to be equal, and is used
by ==.