#[non_exhaustive]pub struct EngineVersionBuilder { /* private fields */ }
Expand description
A builder for EngineVersion
.
Implementations§
source§impl EngineVersionBuilder
impl EngineVersionBuilder
sourcepub fn version(self, input: impl Into<String>) -> Self
pub fn version(self, input: impl Into<String>) -> Self
The version number of the replication instance.
sourcepub fn set_version(self, input: Option<String>) -> Self
pub fn set_version(self, input: Option<String>) -> Self
The version number of the replication instance.
sourcepub fn get_version(&self) -> &Option<String>
pub fn get_version(&self) -> &Option<String>
The version number of the replication instance.
sourcepub fn lifecycle(self, input: impl Into<String>) -> Self
pub fn lifecycle(self, input: impl Into<String>) -> Self
The lifecycle status of the replication instance version. Valid values are DEPRECATED
, DEFAULT_VERSION
, and ACTIVE
.
sourcepub fn set_lifecycle(self, input: Option<String>) -> Self
pub fn set_lifecycle(self, input: Option<String>) -> Self
The lifecycle status of the replication instance version. Valid values are DEPRECATED
, DEFAULT_VERSION
, and ACTIVE
.
sourcepub fn get_lifecycle(&self) -> &Option<String>
pub fn get_lifecycle(&self) -> &Option<String>
The lifecycle status of the replication instance version. Valid values are DEPRECATED
, DEFAULT_VERSION
, and ACTIVE
.
sourcepub fn release_status(self, input: ReleaseStatusValues) -> Self
pub fn release_status(self, input: ReleaseStatusValues) -> Self
The release status of the replication instance version.
sourcepub fn set_release_status(self, input: Option<ReleaseStatusValues>) -> Self
pub fn set_release_status(self, input: Option<ReleaseStatusValues>) -> Self
The release status of the replication instance version.
sourcepub fn get_release_status(&self) -> &Option<ReleaseStatusValues>
pub fn get_release_status(&self) -> &Option<ReleaseStatusValues>
The release status of the replication instance version.
sourcepub fn launch_date(self, input: DateTime) -> Self
pub fn launch_date(self, input: DateTime) -> Self
The date when the replication instance version became publicly available.
sourcepub fn set_launch_date(self, input: Option<DateTime>) -> Self
pub fn set_launch_date(self, input: Option<DateTime>) -> Self
The date when the replication instance version became publicly available.
sourcepub fn get_launch_date(&self) -> &Option<DateTime>
pub fn get_launch_date(&self) -> &Option<DateTime>
The date when the replication instance version became publicly available.
sourcepub fn auto_upgrade_date(self, input: DateTime) -> Self
pub fn auto_upgrade_date(self, input: DateTime) -> Self
The date when the replication instance will be automatically upgraded. This setting only applies if the auto-minor-version
setting is enabled.
sourcepub fn set_auto_upgrade_date(self, input: Option<DateTime>) -> Self
pub fn set_auto_upgrade_date(self, input: Option<DateTime>) -> Self
The date when the replication instance will be automatically upgraded. This setting only applies if the auto-minor-version
setting is enabled.
sourcepub fn get_auto_upgrade_date(&self) -> &Option<DateTime>
pub fn get_auto_upgrade_date(&self) -> &Option<DateTime>
The date when the replication instance will be automatically upgraded. This setting only applies if the auto-minor-version
setting is enabled.
sourcepub fn deprecation_date(self, input: DateTime) -> Self
pub fn deprecation_date(self, input: DateTime) -> Self
The date when the replication instance version will be deprecated and can no longer be requested.
sourcepub fn set_deprecation_date(self, input: Option<DateTime>) -> Self
pub fn set_deprecation_date(self, input: Option<DateTime>) -> Self
The date when the replication instance version will be deprecated and can no longer be requested.
sourcepub fn get_deprecation_date(&self) -> &Option<DateTime>
pub fn get_deprecation_date(&self) -> &Option<DateTime>
The date when the replication instance version will be deprecated and can no longer be requested.
sourcepub fn force_upgrade_date(self, input: DateTime) -> Self
pub fn force_upgrade_date(self, input: DateTime) -> Self
The date when the replication instance will have a version upgrade forced.
sourcepub fn set_force_upgrade_date(self, input: Option<DateTime>) -> Self
pub fn set_force_upgrade_date(self, input: Option<DateTime>) -> Self
The date when the replication instance will have a version upgrade forced.
sourcepub fn get_force_upgrade_date(&self) -> &Option<DateTime>
pub fn get_force_upgrade_date(&self) -> &Option<DateTime>
The date when the replication instance will have a version upgrade forced.
sourcepub fn available_upgrades(self, input: impl Into<String>) -> Self
pub fn available_upgrades(self, input: impl Into<String>) -> Self
Appends an item to available_upgrades
.
To override the contents of this collection use set_available_upgrades
.
The list of valid replication instance versions that you can upgrade to.
sourcepub fn set_available_upgrades(self, input: Option<Vec<String>>) -> Self
pub fn set_available_upgrades(self, input: Option<Vec<String>>) -> Self
The list of valid replication instance versions that you can upgrade to.
sourcepub fn get_available_upgrades(&self) -> &Option<Vec<String>>
pub fn get_available_upgrades(&self) -> &Option<Vec<String>>
The list of valid replication instance versions that you can upgrade to.
sourcepub fn build(self) -> EngineVersion
pub fn build(self) -> EngineVersion
Consumes the builder and constructs a EngineVersion
.
Trait Implementations§
source§impl Clone for EngineVersionBuilder
impl Clone for EngineVersionBuilder
source§fn clone(&self) -> EngineVersionBuilder
fn clone(&self) -> EngineVersionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EngineVersionBuilder
impl Debug for EngineVersionBuilder
source§impl Default for EngineVersionBuilder
impl Default for EngineVersionBuilder
source§fn default() -> EngineVersionBuilder
fn default() -> EngineVersionBuilder
source§impl PartialEq for EngineVersionBuilder
impl PartialEq for EngineVersionBuilder
impl StructuralPartialEq for EngineVersionBuilder
Auto Trait Implementations§
impl Freeze for EngineVersionBuilder
impl RefUnwindSafe for EngineVersionBuilder
impl Send for EngineVersionBuilder
impl Sync for EngineVersionBuilder
impl Unpin for EngineVersionBuilder
impl UnwindSafe for EngineVersionBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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