Struct aws_sdk_docdb::types::builders::UpgradeTargetBuilder
source · #[non_exhaustive]pub struct UpgradeTargetBuilder { /* private fields */ }
Expand description
A builder for UpgradeTarget
.
Implementations§
source§impl UpgradeTargetBuilder
impl UpgradeTargetBuilder
sourcepub fn engine(self, input: impl Into<String>) -> Self
pub fn engine(self, input: impl Into<String>) -> Self
The name of the upgrade target database engine.
sourcepub fn set_engine(self, input: Option<String>) -> Self
pub fn set_engine(self, input: Option<String>) -> Self
The name of the upgrade target database engine.
sourcepub fn get_engine(&self) -> &Option<String>
pub fn get_engine(&self) -> &Option<String>
The name of the upgrade target 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 upgrade target 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 upgrade target database engine.
sourcepub fn get_engine_version(&self) -> &Option<String>
pub fn get_engine_version(&self) -> &Option<String>
The version number of the upgrade target database engine.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The version of the database engine that an instance can be upgraded to.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The version of the database engine that an instance can be upgraded to.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The version of the database engine that an instance can be upgraded to.
sourcepub fn auto_upgrade(self, input: bool) -> Self
pub fn auto_upgrade(self, input: bool) -> Self
A value that indicates whether the target version is applied to any source DB instances that have AutoMinorVersionUpgrade
set to true
.
sourcepub fn set_auto_upgrade(self, input: Option<bool>) -> Self
pub fn set_auto_upgrade(self, input: Option<bool>) -> Self
A value that indicates whether the target version is applied to any source DB instances that have AutoMinorVersionUpgrade
set to true
.
sourcepub fn get_auto_upgrade(&self) -> &Option<bool>
pub fn get_auto_upgrade(&self) -> &Option<bool>
A value that indicates whether the target version is applied to any source DB instances that have AutoMinorVersionUpgrade
set to true
.
sourcepub fn is_major_version_upgrade(self, input: bool) -> Self
pub fn is_major_version_upgrade(self, input: bool) -> Self
A value that indicates whether a database engine is upgraded to a major version.
sourcepub fn set_is_major_version_upgrade(self, input: Option<bool>) -> Self
pub fn set_is_major_version_upgrade(self, input: Option<bool>) -> Self
A value that indicates whether a database engine is upgraded to a major version.
sourcepub fn get_is_major_version_upgrade(&self) -> &Option<bool>
pub fn get_is_major_version_upgrade(&self) -> &Option<bool>
A value that indicates whether a database engine is upgraded to a major version.
sourcepub fn build(self) -> UpgradeTarget
pub fn build(self) -> UpgradeTarget
Consumes the builder and constructs a UpgradeTarget
.
Trait Implementations§
source§impl Clone for UpgradeTargetBuilder
impl Clone for UpgradeTargetBuilder
source§fn clone(&self) -> UpgradeTargetBuilder
fn clone(&self) -> UpgradeTargetBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for UpgradeTargetBuilder
impl Debug for UpgradeTargetBuilder
source§impl Default for UpgradeTargetBuilder
impl Default for UpgradeTargetBuilder
source§fn default() -> UpgradeTargetBuilder
fn default() -> UpgradeTargetBuilder
source§impl PartialEq for UpgradeTargetBuilder
impl PartialEq for UpgradeTargetBuilder
source§fn eq(&self, other: &UpgradeTargetBuilder) -> bool
fn eq(&self, other: &UpgradeTargetBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.