Struct aws_sdk_databasemigration::types::EngineVersion
source · #[non_exhaustive]pub struct EngineVersion {
pub version: Option<String>,
pub lifecycle: Option<String>,
pub release_status: Option<ReleaseStatusValues>,
pub launch_date: Option<DateTime>,
pub auto_upgrade_date: Option<DateTime>,
pub deprecation_date: Option<DateTime>,
pub force_upgrade_date: Option<DateTime>,
pub available_upgrades: Option<Vec<String>>,
}
Expand description
Provides information about a replication instance version.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.version: Option<String>
The version number of the replication instance.
lifecycle: Option<String>
The lifecycle status of the replication instance version. Valid values are DEPRECATED
, DEFAULT_VERSION
, and ACTIVE
.
release_status: Option<ReleaseStatusValues>
The release status of the replication instance version.
launch_date: Option<DateTime>
The date when the replication instance version became publicly available.
auto_upgrade_date: Option<DateTime>
The date when the replication instance will be automatically upgraded. This setting only applies if the auto-minor-version
setting is enabled.
deprecation_date: Option<DateTime>
The date when the replication instance version will be deprecated and can no longer be requested.
force_upgrade_date: Option<DateTime>
The date when the replication instance will have a version upgrade forced.
available_upgrades: Option<Vec<String>>
The list of valid replication instance versions that you can upgrade to.
Implementations§
source§impl EngineVersion
impl EngineVersion
sourcepub fn lifecycle(&self) -> Option<&str>
pub fn lifecycle(&self) -> Option<&str>
The lifecycle status of the replication instance version. Valid values are DEPRECATED
, DEFAULT_VERSION
, and ACTIVE
.
sourcepub fn release_status(&self) -> Option<&ReleaseStatusValues>
pub fn release_status(&self) -> Option<&ReleaseStatusValues>
The release status of the replication instance version.
sourcepub fn launch_date(&self) -> Option<&DateTime>
pub fn launch_date(&self) -> Option<&DateTime>
The date when the replication instance version became publicly available.
sourcepub fn auto_upgrade_date(&self) -> Option<&DateTime>
pub fn 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) -> Option<&DateTime>
pub fn 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) -> Option<&DateTime>
pub fn force_upgrade_date(&self) -> Option<&DateTime>
The date when the replication instance will have a version upgrade forced.
sourcepub fn available_upgrades(&self) -> &[String]
pub fn available_upgrades(&self) -> &[String]
The list of valid replication instance versions that you can upgrade to.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .available_upgrades.is_none()
.
source§impl EngineVersion
impl EngineVersion
sourcepub fn builder() -> EngineVersionBuilder
pub fn builder() -> EngineVersionBuilder
Creates a new builder-style object to manufacture EngineVersion
.
Trait Implementations§
source§impl Clone for EngineVersion
impl Clone for EngineVersion
source§fn clone(&self) -> EngineVersion
fn clone(&self) -> EngineVersion
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EngineVersion
impl Debug for EngineVersion
source§impl PartialEq for EngineVersion
impl PartialEq for EngineVersion
source§fn eq(&self, other: &EngineVersion) -> bool
fn eq(&self, other: &EngineVersion) -> bool
self
and other
values to be equal, and is used
by ==
.