#[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
source§fn eq(&self, other: &EngineVersionBuilder) -> bool
fn eq(&self, other: &EngineVersionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.