Struct aws_sdk_rds::operation::modify_tenant_database::builders::ModifyTenantDatabaseFluentBuilder
source · pub struct ModifyTenantDatabaseFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to ModifyTenantDatabase.
Modifies an existing tenant database in a DB instance. You can change the tenant database name or the master user password. This operation is supported only for RDS for Oracle CDB instances using the multi-tenant configuration.
Implementations§
source§impl ModifyTenantDatabaseFluentBuilder
impl ModifyTenantDatabaseFluentBuilder
sourcepub fn as_input(&self) -> &ModifyTenantDatabaseInputBuilder
pub fn as_input(&self) -> &ModifyTenantDatabaseInputBuilder
Access the ModifyTenantDatabase as a reference.
sourcepub async fn send(
self
) -> Result<ModifyTenantDatabaseOutput, SdkError<ModifyTenantDatabaseError, HttpResponse>>
pub async fn send( self ) -> Result<ModifyTenantDatabaseOutput, SdkError<ModifyTenantDatabaseError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ModifyTenantDatabaseOutput, ModifyTenantDatabaseError, Self>
pub fn customize( self ) -> CustomizableOperation<ModifyTenantDatabaseOutput, ModifyTenantDatabaseError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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.
Trait Implementations§
source§impl Clone for ModifyTenantDatabaseFluentBuilder
impl Clone for ModifyTenantDatabaseFluentBuilder
source§fn clone(&self) -> ModifyTenantDatabaseFluentBuilder
fn clone(&self) -> ModifyTenantDatabaseFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more