#[non_exhaustive]pub struct RdsConfigurationBuilder { /* private fields */ }
Expand description
A builder for RdsConfiguration
.
Implementations§
source§impl RdsConfigurationBuilder
impl RdsConfigurationBuilder
sourcepub fn engine_edition(self, input: impl Into<String>) -> Self
pub fn engine_edition(self, input: impl Into<String>) -> Self
Describes the recommended target Amazon RDS engine edition.
sourcepub fn set_engine_edition(self, input: Option<String>) -> Self
pub fn set_engine_edition(self, input: Option<String>) -> Self
Describes the recommended target Amazon RDS engine edition.
sourcepub fn get_engine_edition(&self) -> &Option<String>
pub fn get_engine_edition(&self) -> &Option<String>
Describes the recommended target Amazon RDS engine edition.
sourcepub fn instance_type(self, input: impl Into<String>) -> Self
pub fn instance_type(self, input: impl Into<String>) -> Self
Describes the recommended target Amazon RDS instance type.
sourcepub fn set_instance_type(self, input: Option<String>) -> Self
pub fn set_instance_type(self, input: Option<String>) -> Self
Describes the recommended target Amazon RDS instance type.
sourcepub fn get_instance_type(&self) -> &Option<String>
pub fn get_instance_type(&self) -> &Option<String>
Describes the recommended target Amazon RDS instance type.
sourcepub fn instance_vcpu(self, input: f64) -> Self
pub fn instance_vcpu(self, input: f64) -> Self
Describes the number of virtual CPUs (vCPU) on the recommended Amazon RDS DB instance that meets your requirements.
sourcepub fn set_instance_vcpu(self, input: Option<f64>) -> Self
pub fn set_instance_vcpu(self, input: Option<f64>) -> Self
Describes the number of virtual CPUs (vCPU) on the recommended Amazon RDS DB instance that meets your requirements.
sourcepub fn get_instance_vcpu(&self) -> &Option<f64>
pub fn get_instance_vcpu(&self) -> &Option<f64>
Describes the number of virtual CPUs (vCPU) on the recommended Amazon RDS DB instance that meets your requirements.
sourcepub fn instance_memory(self, input: f64) -> Self
pub fn instance_memory(self, input: f64) -> Self
Describes the memory on the recommended Amazon RDS DB instance that meets your requirements.
sourcepub fn set_instance_memory(self, input: Option<f64>) -> Self
pub fn set_instance_memory(self, input: Option<f64>) -> Self
Describes the memory on the recommended Amazon RDS DB instance that meets your requirements.
sourcepub fn get_instance_memory(&self) -> &Option<f64>
pub fn get_instance_memory(&self) -> &Option<f64>
Describes the memory on the recommended Amazon RDS DB instance that meets your requirements.
sourcepub fn storage_type(self, input: impl Into<String>) -> Self
pub fn storage_type(self, input: impl Into<String>) -> Self
Describes the storage type of the recommended Amazon RDS DB instance that meets your requirements.
Amazon RDS provides three storage types: General Purpose SSD (also known as gp2 and gp3), Provisioned IOPS SSD (also known as io1), and magnetic (also known as standard).
sourcepub fn set_storage_type(self, input: Option<String>) -> Self
pub fn set_storage_type(self, input: Option<String>) -> Self
Describes the storage type of the recommended Amazon RDS DB instance that meets your requirements.
Amazon RDS provides three storage types: General Purpose SSD (also known as gp2 and gp3), Provisioned IOPS SSD (also known as io1), and magnetic (also known as standard).
sourcepub fn get_storage_type(&self) -> &Option<String>
pub fn get_storage_type(&self) -> &Option<String>
Describes the storage type of the recommended Amazon RDS DB instance that meets your requirements.
Amazon RDS provides three storage types: General Purpose SSD (also known as gp2 and gp3), Provisioned IOPS SSD (also known as io1), and magnetic (also known as standard).
sourcepub fn storage_size(self, input: i32) -> Self
pub fn storage_size(self, input: i32) -> Self
Describes the storage size of the recommended Amazon RDS DB instance that meets your requirements.
sourcepub fn set_storage_size(self, input: Option<i32>) -> Self
pub fn set_storage_size(self, input: Option<i32>) -> Self
Describes the storage size of the recommended Amazon RDS DB instance that meets your requirements.
sourcepub fn get_storage_size(&self) -> &Option<i32>
pub fn get_storage_size(&self) -> &Option<i32>
Describes the storage size of the recommended Amazon RDS DB instance that meets your requirements.
sourcepub fn storage_iops(self, input: i32) -> Self
pub fn storage_iops(self, input: i32) -> Self
Describes the number of I/O operations completed each second (IOPS) on the recommended Amazon RDS DB instance that meets your requirements.
sourcepub fn set_storage_iops(self, input: Option<i32>) -> Self
pub fn set_storage_iops(self, input: Option<i32>) -> Self
Describes the number of I/O operations completed each second (IOPS) on the recommended Amazon RDS DB instance that meets your requirements.
sourcepub fn get_storage_iops(&self) -> &Option<i32>
pub fn get_storage_iops(&self) -> &Option<i32>
Describes the number of I/O operations completed each second (IOPS) on the recommended Amazon RDS DB instance that meets your requirements.
sourcepub fn deployment_option(self, input: impl Into<String>) -> Self
pub fn deployment_option(self, input: impl Into<String>) -> Self
Describes the deployment option for the recommended Amazon RDS DB instance. The deployment options include Multi-AZ and Single-AZ deployments. Valid values include "MULTI_AZ"
and "SINGLE_AZ"
.
sourcepub fn set_deployment_option(self, input: Option<String>) -> Self
pub fn set_deployment_option(self, input: Option<String>) -> Self
Describes the deployment option for the recommended Amazon RDS DB instance. The deployment options include Multi-AZ and Single-AZ deployments. Valid values include "MULTI_AZ"
and "SINGLE_AZ"
.
sourcepub fn get_deployment_option(&self) -> &Option<String>
pub fn get_deployment_option(&self) -> &Option<String>
Describes the deployment option for the recommended Amazon RDS DB instance. The deployment options include Multi-AZ and Single-AZ deployments. Valid values include "MULTI_AZ"
and "SINGLE_AZ"
.
sourcepub fn engine_version(self, input: impl Into<String>) -> Self
pub fn engine_version(self, input: impl Into<String>) -> Self
Describes the recommended target Amazon RDS engine version.
sourcepub fn set_engine_version(self, input: Option<String>) -> Self
pub fn set_engine_version(self, input: Option<String>) -> Self
Describes the recommended target Amazon RDS engine version.
sourcepub fn get_engine_version(&self) -> &Option<String>
pub fn get_engine_version(&self) -> &Option<String>
Describes the recommended target Amazon RDS engine version.
sourcepub fn build(self) -> RdsConfiguration
pub fn build(self) -> RdsConfiguration
Consumes the builder and constructs a RdsConfiguration
.
Trait Implementations§
source§impl Clone for RdsConfigurationBuilder
impl Clone for RdsConfigurationBuilder
source§fn clone(&self) -> RdsConfigurationBuilder
fn clone(&self) -> RdsConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RdsConfigurationBuilder
impl Debug for RdsConfigurationBuilder
source§impl Default for RdsConfigurationBuilder
impl Default for RdsConfigurationBuilder
source§fn default() -> RdsConfigurationBuilder
fn default() -> RdsConfigurationBuilder
source§impl PartialEq for RdsConfigurationBuilder
impl PartialEq for RdsConfigurationBuilder
source§fn eq(&self, other: &RdsConfigurationBuilder) -> bool
fn eq(&self, other: &RdsConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.