Struct aws_sdk_rds::operation::modify_tenant_database::builders::ModifyTenantDatabaseInputBuilder
source · #[non_exhaustive]pub struct ModifyTenantDatabaseInputBuilder { /* private fields */ }Expand description
A builder for ModifyTenantDatabaseInput.
Implementations§
source§impl ModifyTenantDatabaseInputBuilder
impl ModifyTenantDatabaseInputBuilder
sourcepub fn db_instance_identifier(self, input: impl Into<String>) -> Self
pub fn db_instance_identifier(self, input: impl Into<String>) -> Self
The identifier of the DB instance that contains the tenant database that you are modifying. This parameter isn't case-sensitive.
Constraints:
-
Must match the identifier of an existing DB instance.
sourcepub fn set_db_instance_identifier(self, input: Option<String>) -> Self
pub fn set_db_instance_identifier(self, input: Option<String>) -> Self
The identifier of the DB instance that contains the tenant database that you are modifying. This parameter isn't case-sensitive.
Constraints:
-
Must match the identifier of an existing DB instance.
sourcepub fn get_db_instance_identifier(&self) -> &Option<String>
pub fn get_db_instance_identifier(&self) -> &Option<String>
The identifier of the DB instance that contains the tenant database that you are modifying. This parameter isn't case-sensitive.
Constraints:
-
Must match the identifier of an existing DB instance.
sourcepub fn tenant_db_name(self, input: impl Into<String>) -> Self
pub fn tenant_db_name(self, input: impl Into<String>) -> Self
The user-supplied name of the tenant database that you want to modify. This parameter isn’t case-sensitive.
Constraints:
-
Must match the identifier of an existing tenant database.
sourcepub fn set_tenant_db_name(self, input: Option<String>) -> Self
pub fn set_tenant_db_name(self, input: Option<String>) -> Self
The user-supplied name of the tenant database that you want to modify. This parameter isn’t case-sensitive.
Constraints:
-
Must match the identifier of an existing tenant database.
sourcepub fn get_tenant_db_name(&self) -> &Option<String>
pub fn get_tenant_db_name(&self) -> &Option<String>
The user-supplied name of the tenant database that you want to modify. This parameter isn’t case-sensitive.
Constraints:
-
Must match the identifier of an existing tenant database.
sourcepub fn master_user_password(self, input: impl Into<String>) -> Self
pub fn master_user_password(self, input: impl Into<String>) -> Self
The new password for the master user of the specified tenant database in your DB instance.
Amazon RDS operations never return the password, so this action provides a way to regain access to a tenant database user if the password is lost. This includes restoring privileges that might have been accidentally revoked.
Constraints:
-
Can include any printable ASCII character except
/,"(double quote),@,&(ampersand), and'(single quote).
Length constraints:
-
Must contain between 8 and 30 characters.
sourcepub fn set_master_user_password(self, input: Option<String>) -> Self
pub fn set_master_user_password(self, input: Option<String>) -> Self
The new password for the master user of the specified tenant database in your DB instance.
Amazon RDS operations never return the password, so this action provides a way to regain access to a tenant database user if the password is lost. This includes restoring privileges that might have been accidentally revoked.
Constraints:
-
Can include any printable ASCII character except
/,"(double quote),@,&(ampersand), and'(single quote).
Length constraints:
-
Must contain between 8 and 30 characters.
sourcepub fn get_master_user_password(&self) -> &Option<String>
pub fn get_master_user_password(&self) -> &Option<String>
The new password for the master user of the specified tenant database in your DB instance.
Amazon RDS operations never return the password, so this action provides a way to regain access to a tenant database user if the password is lost. This includes restoring privileges that might have been accidentally revoked.
Constraints:
-
Can include any printable ASCII character except
/,"(double quote),@,&(ampersand), and'(single quote).
Length constraints:
-
Must contain between 8 and 30 characters.
sourcepub fn new_tenant_db_name(self, input: impl Into<String>) -> Self
pub fn new_tenant_db_name(self, input: impl Into<String>) -> Self
The new name of the tenant database when renaming a tenant database. This parameter isn’t case-sensitive.
Constraints:
-
Can't be the string null or any other reserved word.
-
Can't be longer than 8 characters.
sourcepub fn set_new_tenant_db_name(self, input: Option<String>) -> Self
pub fn set_new_tenant_db_name(self, input: Option<String>) -> Self
The new name of the tenant database when renaming a tenant database. This parameter isn’t case-sensitive.
Constraints:
-
Can't be the string null or any other reserved word.
-
Can't be longer than 8 characters.
sourcepub fn get_new_tenant_db_name(&self) -> &Option<String>
pub fn get_new_tenant_db_name(&self) -> &Option<String>
The new name of the tenant database when renaming a tenant database. This parameter isn’t case-sensitive.
Constraints:
-
Can't be the string null or any other reserved word.
-
Can't be longer than 8 characters.
sourcepub fn build(self) -> Result<ModifyTenantDatabaseInput, BuildError>
pub fn build(self) -> Result<ModifyTenantDatabaseInput, BuildError>
Consumes the builder and constructs a ModifyTenantDatabaseInput.
source§impl ModifyTenantDatabaseInputBuilder
impl ModifyTenantDatabaseInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ModifyTenantDatabaseOutput, SdkError<ModifyTenantDatabaseError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ModifyTenantDatabaseOutput, SdkError<ModifyTenantDatabaseError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ModifyTenantDatabaseInputBuilder
impl Clone for ModifyTenantDatabaseInputBuilder
source§fn clone(&self) -> ModifyTenantDatabaseInputBuilder
fn clone(&self) -> ModifyTenantDatabaseInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ModifyTenantDatabaseInputBuilder
impl Default for ModifyTenantDatabaseInputBuilder
source§fn default() -> ModifyTenantDatabaseInputBuilder
fn default() -> ModifyTenantDatabaseInputBuilder
source§impl PartialEq for ModifyTenantDatabaseInputBuilder
impl PartialEq for ModifyTenantDatabaseInputBuilder
source§fn eq(&self, other: &ModifyTenantDatabaseInputBuilder) -> bool
fn eq(&self, other: &ModifyTenantDatabaseInputBuilder) -> bool
self and other values to be equal, and is used
by ==.