Struct aws_sdk_rds::operation::modify_custom_db_engine_version::ModifyCustomDbEngineVersionInput
source · #[non_exhaustive]pub struct ModifyCustomDbEngineVersionInput {
pub engine: Option<String>,
pub engine_version: Option<String>,
pub description: Option<String>,
pub status: Option<CustomEngineVersionStatus>,
}
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.engine: Option<String>
The DB engine. The only supported values are custom-oracle-ee
and custom-oracle-ee-cdb
.
engine_version: Option<String>
The custom engine version (CEV) that you want to modify. This option is required for RDS Custom for Oracle, but optional for Amazon RDS. The combination of Engine
and EngineVersion
is unique per customer per Amazon Web Services Region.
description: Option<String>
An optional description of your CEV.
status: Option<CustomEngineVersionStatus>
The availability status to be assigned to the CEV. Valid values are as follows:
- available
-
You can use this CEV to create a new RDS Custom DB instance.
- inactive
-
You can create a new RDS Custom instance by restoring a DB snapshot with this CEV. You can't patch or create new instances with this CEV.
You can change any status to any status. A typical reason to change status is to prevent the accidental use of a CEV, or to make a deprecated CEV eligible for use again. For example, you might change the status of your CEV from available
to inactive
, and from inactive
back to available
. To change the availability status of the CEV, it must not currently be in use by an RDS Custom instance, snapshot, or automated backup.
Implementations§
source§impl ModifyCustomDbEngineVersionInput
impl ModifyCustomDbEngineVersionInput
sourcepub fn engine(&self) -> Option<&str>
pub fn engine(&self) -> Option<&str>
The DB engine. The only supported values are custom-oracle-ee
and custom-oracle-ee-cdb
.
sourcepub fn engine_version(&self) -> Option<&str>
pub fn engine_version(&self) -> Option<&str>
The custom engine version (CEV) that you want to modify. This option is required for RDS Custom for Oracle, but optional for Amazon RDS. The combination of Engine
and EngineVersion
is unique per customer per Amazon Web Services Region.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
An optional description of your CEV.
sourcepub fn status(&self) -> Option<&CustomEngineVersionStatus>
pub fn status(&self) -> Option<&CustomEngineVersionStatus>
The availability status to be assigned to the CEV. Valid values are as follows:
- available
-
You can use this CEV to create a new RDS Custom DB instance.
- inactive
-
You can create a new RDS Custom instance by restoring a DB snapshot with this CEV. You can't patch or create new instances with this CEV.
You can change any status to any status. A typical reason to change status is to prevent the accidental use of a CEV, or to make a deprecated CEV eligible for use again. For example, you might change the status of your CEV from available
to inactive
, and from inactive
back to available
. To change the availability status of the CEV, it must not currently be in use by an RDS Custom instance, snapshot, or automated backup.
source§impl ModifyCustomDbEngineVersionInput
impl ModifyCustomDbEngineVersionInput
sourcepub fn builder() -> ModifyCustomDbEngineVersionInputBuilder
pub fn builder() -> ModifyCustomDbEngineVersionInputBuilder
Creates a new builder-style object to manufacture ModifyCustomDbEngineVersionInput
.
Trait Implementations§
source§impl Clone for ModifyCustomDbEngineVersionInput
impl Clone for ModifyCustomDbEngineVersionInput
source§fn clone(&self) -> ModifyCustomDbEngineVersionInput
fn clone(&self) -> ModifyCustomDbEngineVersionInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq for ModifyCustomDbEngineVersionInput
impl PartialEq for ModifyCustomDbEngineVersionInput
source§fn eq(&self, other: &ModifyCustomDbEngineVersionInput) -> bool
fn eq(&self, other: &ModifyCustomDbEngineVersionInput) -> bool
self
and other
values to be equal, and is used
by ==
.