Struct aws_sdk_docdb::types::builders::DbEngineVersionBuilder
source · #[non_exhaustive]pub struct DbEngineVersionBuilder { /* private fields */ }
Expand description
A builder for DbEngineVersion
.
Implementations§
source§impl DbEngineVersionBuilder
impl DbEngineVersionBuilder
sourcepub fn set_engine(self, input: Option<String>) -> Self
pub fn set_engine(self, input: Option<String>) -> Self
The name of the database engine.
sourcepub fn get_engine(&self) -> &Option<String>
pub fn get_engine(&self) -> &Option<String>
The name of the database engine.
sourcepub fn engine_version(self, input: impl Into<String>) -> Self
pub fn engine_version(self, input: impl Into<String>) -> Self
The version number of the database engine.
sourcepub fn set_engine_version(self, input: Option<String>) -> Self
pub fn set_engine_version(self, input: Option<String>) -> Self
The version number of the database engine.
sourcepub fn get_engine_version(&self) -> &Option<String>
pub fn get_engine_version(&self) -> &Option<String>
The version number of the database engine.
sourcepub fn db_parameter_group_family(self, input: impl Into<String>) -> Self
pub fn db_parameter_group_family(self, input: impl Into<String>) -> Self
The name of the parameter group family for the database engine.
sourcepub fn set_db_parameter_group_family(self, input: Option<String>) -> Self
pub fn set_db_parameter_group_family(self, input: Option<String>) -> Self
The name of the parameter group family for the database engine.
sourcepub fn get_db_parameter_group_family(&self) -> &Option<String>
pub fn get_db_parameter_group_family(&self) -> &Option<String>
The name of the parameter group family for the database engine.
sourcepub fn db_engine_description(self, input: impl Into<String>) -> Self
pub fn db_engine_description(self, input: impl Into<String>) -> Self
The description of the database engine.
sourcepub fn set_db_engine_description(self, input: Option<String>) -> Self
pub fn set_db_engine_description(self, input: Option<String>) -> Self
The description of the database engine.
sourcepub fn get_db_engine_description(&self) -> &Option<String>
pub fn get_db_engine_description(&self) -> &Option<String>
The description of the database engine.
sourcepub fn db_engine_version_description(self, input: impl Into<String>) -> Self
pub fn db_engine_version_description(self, input: impl Into<String>) -> Self
The description of the database engine version.
sourcepub fn set_db_engine_version_description(self, input: Option<String>) -> Self
pub fn set_db_engine_version_description(self, input: Option<String>) -> Self
The description of the database engine version.
sourcepub fn get_db_engine_version_description(&self) -> &Option<String>
pub fn get_db_engine_version_description(&self) -> &Option<String>
The description of the database engine version.
sourcepub fn valid_upgrade_target(self, input: UpgradeTarget) -> Self
pub fn valid_upgrade_target(self, input: UpgradeTarget) -> Self
Appends an item to valid_upgrade_target
.
To override the contents of this collection use set_valid_upgrade_target
.
A list of engine versions that this database engine version can be upgraded to.
sourcepub fn set_valid_upgrade_target(self, input: Option<Vec<UpgradeTarget>>) -> Self
pub fn set_valid_upgrade_target(self, input: Option<Vec<UpgradeTarget>>) -> Self
A list of engine versions that this database engine version can be upgraded to.
sourcepub fn get_valid_upgrade_target(&self) -> &Option<Vec<UpgradeTarget>>
pub fn get_valid_upgrade_target(&self) -> &Option<Vec<UpgradeTarget>>
A list of engine versions that this database engine version can be upgraded to.
sourcepub fn exportable_log_types(self, input: impl Into<String>) -> Self
pub fn exportable_log_types(self, input: impl Into<String>) -> Self
Appends an item to exportable_log_types
.
To override the contents of this collection use set_exportable_log_types
.
The types of logs that the database engine has available for export to Amazon CloudWatch Logs.
sourcepub fn set_exportable_log_types(self, input: Option<Vec<String>>) -> Self
pub fn set_exportable_log_types(self, input: Option<Vec<String>>) -> Self
The types of logs that the database engine has available for export to Amazon CloudWatch Logs.
sourcepub fn get_exportable_log_types(&self) -> &Option<Vec<String>>
pub fn get_exportable_log_types(&self) -> &Option<Vec<String>>
The types of logs that the database engine has available for export to Amazon CloudWatch Logs.
sourcepub fn supports_log_exports_to_cloudwatch_logs(self, input: bool) -> Self
pub fn supports_log_exports_to_cloudwatch_logs(self, input: bool) -> Self
A value that indicates whether the engine version supports exporting the log types specified by ExportableLogTypes
to CloudWatch Logs.
sourcepub fn set_supports_log_exports_to_cloudwatch_logs(
self,
input: Option<bool>
) -> Self
pub fn set_supports_log_exports_to_cloudwatch_logs( self, input: Option<bool> ) -> Self
A value that indicates whether the engine version supports exporting the log types specified by ExportableLogTypes
to CloudWatch Logs.
sourcepub fn get_supports_log_exports_to_cloudwatch_logs(&self) -> &Option<bool>
pub fn get_supports_log_exports_to_cloudwatch_logs(&self) -> &Option<bool>
A value that indicates whether the engine version supports exporting the log types specified by ExportableLogTypes
to CloudWatch Logs.
sourcepub fn build(self) -> DbEngineVersion
pub fn build(self) -> DbEngineVersion
Consumes the builder and constructs a DbEngineVersion
.
Trait Implementations§
source§impl Clone for DbEngineVersionBuilder
impl Clone for DbEngineVersionBuilder
source§fn clone(&self) -> DbEngineVersionBuilder
fn clone(&self) -> DbEngineVersionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DbEngineVersionBuilder
impl Debug for DbEngineVersionBuilder
source§impl Default for DbEngineVersionBuilder
impl Default for DbEngineVersionBuilder
source§fn default() -> DbEngineVersionBuilder
fn default() -> DbEngineVersionBuilder
source§impl PartialEq for DbEngineVersionBuilder
impl PartialEq for DbEngineVersionBuilder
source§fn eq(&self, other: &DbEngineVersionBuilder) -> bool
fn eq(&self, other: &DbEngineVersionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.