#[non_exhaustive]
pub struct PendingModifiedValuesBuilder { /* private fields */ }
Expand description

A builder for PendingModifiedValues.

Implementations§

source§

impl PendingModifiedValuesBuilder

source

pub fn db_instance_class(self, input: impl Into<String>) -> Self

The name of the compute and memory capacity class for the DB instance.

source

pub fn set_db_instance_class(self, input: Option<String>) -> Self

The name of the compute and memory capacity class for the DB instance.

source

pub fn get_db_instance_class(&self) -> &Option<String>

The name of the compute and memory capacity class for the DB instance.

source

pub fn allocated_storage(self, input: i32) -> Self

The allocated storage size for the DB instance specified in gibibytes (GiB).

source

pub fn set_allocated_storage(self, input: Option<i32>) -> Self

The allocated storage size for the DB instance specified in gibibytes (GiB).

source

pub fn get_allocated_storage(&self) -> &Option<i32>

The allocated storage size for the DB instance specified in gibibytes (GiB).

source

pub fn master_user_password(self, input: impl Into<String>) -> Self

The master credentials for the DB instance.

source

pub fn set_master_user_password(self, input: Option<String>) -> Self

The master credentials for the DB instance.

source

pub fn get_master_user_password(&self) -> &Option<String>

The master credentials for the DB instance.

source

pub fn port(self, input: i32) -> Self

The port for the DB instance.

source

pub fn set_port(self, input: Option<i32>) -> Self

The port for the DB instance.

source

pub fn get_port(&self) -> &Option<i32>

The port for the DB instance.

source

pub fn backup_retention_period(self, input: i32) -> Self

The number of days for which automated backups are retained.

source

pub fn set_backup_retention_period(self, input: Option<i32>) -> Self

The number of days for which automated backups are retained.

source

pub fn get_backup_retention_period(&self) -> &Option<i32>

The number of days for which automated backups are retained.

source

pub fn multi_az(self, input: bool) -> Self

Indicates whether the Single-AZ DB instance will change to a Multi-AZ deployment.

source

pub fn set_multi_az(self, input: Option<bool>) -> Self

Indicates whether the Single-AZ DB instance will change to a Multi-AZ deployment.

source

pub fn get_multi_az(&self) -> &Option<bool>

Indicates whether the Single-AZ DB instance will change to a Multi-AZ deployment.

source

pub fn engine_version(self, input: impl Into<String>) -> Self

The database engine version.

source

pub fn set_engine_version(self, input: Option<String>) -> Self

The database engine version.

source

pub fn get_engine_version(&self) -> &Option<String>

The database engine version.

source

pub fn license_model(self, input: impl Into<String>) -> Self

The license model for the DB instance.

Valid values: license-included | bring-your-own-license | general-public-license

source

pub fn set_license_model(self, input: Option<String>) -> Self

The license model for the DB instance.

Valid values: license-included | bring-your-own-license | general-public-license

source

pub fn get_license_model(&self) -> &Option<String>

The license model for the DB instance.

Valid values: license-included | bring-your-own-license | general-public-license

source

pub fn iops(self, input: i32) -> Self

The Provisioned IOPS value for the DB instance.

source

pub fn set_iops(self, input: Option<i32>) -> Self

The Provisioned IOPS value for the DB instance.

source

pub fn get_iops(&self) -> &Option<i32>

The Provisioned IOPS value for the DB instance.

source

pub fn db_instance_identifier(self, input: impl Into<String>) -> Self

The database identifier for the DB instance.

source

pub fn set_db_instance_identifier(self, input: Option<String>) -> Self

The database identifier for the DB instance.

source

pub fn get_db_instance_identifier(&self) -> &Option<String>

The database identifier for the DB instance.

source

pub fn storage_type(self, input: impl Into<String>) -> Self

The storage type of the DB instance.

source

pub fn set_storage_type(self, input: Option<String>) -> Self

The storage type of the DB instance.

source

pub fn get_storage_type(&self) -> &Option<String>

The storage type of the DB instance.

source

pub fn ca_certificate_identifier(self, input: impl Into<String>) -> Self

The identifier of the CA certificate for the DB instance.

For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.

source

pub fn set_ca_certificate_identifier(self, input: Option<String>) -> Self

The identifier of the CA certificate for the DB instance.

For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.

source

pub fn get_ca_certificate_identifier(&self) -> &Option<String>

The identifier of the CA certificate for the DB instance.

For more information, see Using SSL/TLS to encrypt a connection to a DB instance in the Amazon RDS User Guide and Using SSL/TLS to encrypt a connection to a DB cluster in the Amazon Aurora User Guide.

source

pub fn db_subnet_group_name(self, input: impl Into<String>) -> Self

The DB subnet group for the DB instance.

source

pub fn set_db_subnet_group_name(self, input: Option<String>) -> Self

The DB subnet group for the DB instance.

source

pub fn get_db_subnet_group_name(&self) -> &Option<String>

The DB subnet group for the DB instance.

source

pub fn pending_cloudwatch_logs_exports( self, input: PendingCloudwatchLogsExports ) -> Self

A list of the log types whose configuration is still pending. In other words, these log types are in the process of being activated or deactivated.

source

pub fn set_pending_cloudwatch_logs_exports( self, input: Option<PendingCloudwatchLogsExports> ) -> Self

A list of the log types whose configuration is still pending. In other words, these log types are in the process of being activated or deactivated.

source

pub fn get_pending_cloudwatch_logs_exports( &self ) -> &Option<PendingCloudwatchLogsExports>

A list of the log types whose configuration is still pending. In other words, these log types are in the process of being activated or deactivated.

source

pub fn processor_features(self, input: ProcessorFeature) -> Self

Appends an item to processor_features.

To override the contents of this collection use set_processor_features.

The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.

source

pub fn set_processor_features( self, input: Option<Vec<ProcessorFeature>> ) -> Self

The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.

source

pub fn get_processor_features(&self) -> &Option<Vec<ProcessorFeature>>

The number of CPU cores and the number of threads per core for the DB instance class of the DB instance.

source

pub fn iam_database_authentication_enabled(self, input: bool) -> Self

Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled.

source

pub fn set_iam_database_authentication_enabled( self, input: Option<bool> ) -> Self

Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled.

source

pub fn get_iam_database_authentication_enabled(&self) -> &Option<bool>

Indicates whether mapping of Amazon Web Services Identity and Access Management (IAM) accounts to database accounts is enabled.

source

pub fn automation_mode(self, input: AutomationMode) -> Self

The automation mode of the RDS Custom DB instance: full or all-paused. If full, the DB instance automates monitoring and instance recovery. If all-paused, the instance pauses automation for the duration set by --resume-full-automation-mode-minutes.

source

pub fn set_automation_mode(self, input: Option<AutomationMode>) -> Self

The automation mode of the RDS Custom DB instance: full or all-paused. If full, the DB instance automates monitoring and instance recovery. If all-paused, the instance pauses automation for the duration set by --resume-full-automation-mode-minutes.

source

pub fn get_automation_mode(&self) -> &Option<AutomationMode>

The automation mode of the RDS Custom DB instance: full or all-paused. If full, the DB instance automates monitoring and instance recovery. If all-paused, the instance pauses automation for the duration set by --resume-full-automation-mode-minutes.

source

pub fn resume_full_automation_mode_time(self, input: DateTime) -> Self

The number of minutes to pause the automation. When the time period ends, RDS Custom resumes full automation. The minimum value is 60 (default). The maximum value is 1,440.

source

pub fn set_resume_full_automation_mode_time( self, input: Option<DateTime> ) -> Self

The number of minutes to pause the automation. When the time period ends, RDS Custom resumes full automation. The minimum value is 60 (default). The maximum value is 1,440.

source

pub fn get_resume_full_automation_mode_time(&self) -> &Option<DateTime>

The number of minutes to pause the automation. When the time period ends, RDS Custom resumes full automation. The minimum value is 60 (default). The maximum value is 1,440.

source

pub fn storage_throughput(self, input: i32) -> Self

The storage throughput of the DB instance.

source

pub fn set_storage_throughput(self, input: Option<i32>) -> Self

The storage throughput of the DB instance.

source

pub fn get_storage_throughput(&self) -> &Option<i32>

The storage throughput of the DB instance.

source

pub fn engine(self, input: impl Into<String>) -> Self

The database engine of the DB instance.

source

pub fn set_engine(self, input: Option<String>) -> Self

The database engine of the DB instance.

source

pub fn get_engine(&self) -> &Option<String>

The database engine of the DB instance.

source

pub fn dedicated_log_volume(self, input: bool) -> Self

Indicates whether the DB instance has a dedicated log volume (DLV) enabled.>

source

pub fn set_dedicated_log_volume(self, input: Option<bool>) -> Self

Indicates whether the DB instance has a dedicated log volume (DLV) enabled.>

source

pub fn get_dedicated_log_volume(&self) -> &Option<bool>

Indicates whether the DB instance has a dedicated log volume (DLV) enabled.>

source

pub fn multi_tenant(self, input: bool) -> Self

Indicates whether the DB instance will change to the multi-tenant configuration (TRUE) or the single-tenant configuration (FALSE).

source

pub fn set_multi_tenant(self, input: Option<bool>) -> Self

Indicates whether the DB instance will change to the multi-tenant configuration (TRUE) or the single-tenant configuration (FALSE).

source

pub fn get_multi_tenant(&self) -> &Option<bool>

Indicates whether the DB instance will change to the multi-tenant configuration (TRUE) or the single-tenant configuration (FALSE).

source

pub fn build(self) -> PendingModifiedValues

Consumes the builder and constructs a PendingModifiedValues.

Trait Implementations§

source§

impl Clone for PendingModifiedValuesBuilder

source§

fn clone(&self) -> PendingModifiedValuesBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PendingModifiedValuesBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PendingModifiedValuesBuilder

source§

fn default() -> PendingModifiedValuesBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq for PendingModifiedValuesBuilder

source§

fn eq(&self, other: &PendingModifiedValuesBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for PendingModifiedValuesBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<Unshared, Shared> IntoShared<Shared> for Unshared
where Shared: FromUnshared<Unshared>,

source§

fn into_shared(self) -> Shared

Creates a shared type from an unshared type.
source§

impl<T> Same for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for T
where T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more