Struct aws_sdk_docdb::types::OrderableDbInstanceOption
source · #[non_exhaustive]pub struct OrderableDbInstanceOption {
pub engine: Option<String>,
pub engine_version: Option<String>,
pub db_instance_class: Option<String>,
pub license_model: Option<String>,
pub availability_zones: Option<Vec<AvailabilityZone>>,
pub vpc: Option<bool>,
pub storage_type: Option<String>,
}
Expand description
The options that are available for an instance.
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 engine type of an instance.
engine_version: Option<String>
The engine version of an instance.
db_instance_class: Option<String>
The instance class for an instance.
license_model: Option<String>
The license model for an instance.
availability_zones: Option<Vec<AvailabilityZone>>
A list of Availability Zones for an instance.
vpc: Option<bool>
Indicates whether an instance is in a virtual private cloud (VPC).
storage_type: Option<String>
The storage type to associate with the DB cluster
Implementations§
source§impl OrderableDbInstanceOption
impl OrderableDbInstanceOption
sourcepub fn engine_version(&self) -> Option<&str>
pub fn engine_version(&self) -> Option<&str>
The engine version of an instance.
sourcepub fn db_instance_class(&self) -> Option<&str>
pub fn db_instance_class(&self) -> Option<&str>
The instance class for an instance.
sourcepub fn license_model(&self) -> Option<&str>
pub fn license_model(&self) -> Option<&str>
The license model for an instance.
sourcepub fn availability_zones(&self) -> &[AvailabilityZone]
pub fn availability_zones(&self) -> &[AvailabilityZone]
A list of Availability Zones for an instance.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .availability_zones.is_none()
.
sourcepub fn vpc(&self) -> Option<bool>
pub fn vpc(&self) -> Option<bool>
Indicates whether an instance is in a virtual private cloud (VPC).
sourcepub fn storage_type(&self) -> Option<&str>
pub fn storage_type(&self) -> Option<&str>
The storage type to associate with the DB cluster
source§impl OrderableDbInstanceOption
impl OrderableDbInstanceOption
sourcepub fn builder() -> OrderableDbInstanceOptionBuilder
pub fn builder() -> OrderableDbInstanceOptionBuilder
Creates a new builder-style object to manufacture OrderableDbInstanceOption
.
Trait Implementations§
source§impl Clone for OrderableDbInstanceOption
impl Clone for OrderableDbInstanceOption
source§fn clone(&self) -> OrderableDbInstanceOption
fn clone(&self) -> OrderableDbInstanceOption
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for OrderableDbInstanceOption
impl Debug for OrderableDbInstanceOption
source§impl PartialEq for OrderableDbInstanceOption
impl PartialEq for OrderableDbInstanceOption
source§fn eq(&self, other: &OrderableDbInstanceOption) -> bool
fn eq(&self, other: &OrderableDbInstanceOption) -> bool
self
and other
values to be equal, and is used
by ==
.