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 ==
.impl StructuralPartialEq for UpgradeTargetBuilder
Auto Trait Implementations§
impl Freeze for UpgradeTargetBuilder
impl RefUnwindSafe for UpgradeTargetBuilder
impl Send for UpgradeTargetBuilder
impl Sync for UpgradeTargetBuilder
impl Unpin for UpgradeTargetBuilder
impl UnwindSafe for UpgradeTargetBuilder
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> 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