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 ==.impl StructuralPartialEq for OrderableDbInstanceOption
Auto Trait Implementations§
impl Freeze for OrderableDbInstanceOption
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more