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>,
}
Expand description
The options that are available for an instance.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
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).
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()
.
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OrderableDbInstanceOption
Auto Trait Implementations§
impl RefUnwindSafe for OrderableDbInstanceOption
impl Send for OrderableDbInstanceOption
impl Sync for OrderableDbInstanceOption
impl Unpin for OrderableDbInstanceOption
impl UnwindSafe for OrderableDbInstanceOption
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.