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 ==.impl StructuralPartialEq for ModifyTenantDatabaseInputBuilder
Auto Trait Implementations§
impl Freeze for ModifyTenantDatabaseInputBuilder
impl RefUnwindSafe for ModifyTenantDatabaseInputBuilder
impl Send for ModifyTenantDatabaseInputBuilder
impl Sync for ModifyTenantDatabaseInputBuilder
impl Unpin for ModifyTenantDatabaseInputBuilder
impl UnwindSafe for ModifyTenantDatabaseInputBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more