Struct aws_sdk_opensearch::types::EbsOptions
source · #[non_exhaustive]pub struct EbsOptions {
pub ebs_enabled: Option<bool>,
pub volume_type: Option<VolumeType>,
pub volume_size: Option<i32>,
pub iops: Option<i32>,
pub throughput: Option<i32>,
}
Expand description
Container for the parameters required to enable EBS-based storage for an OpenSearch Service domain.
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.ebs_enabled: Option<bool>
Indicates whether EBS volumes are attached to data nodes in an OpenSearch Service domain.
volume_type: Option<VolumeType>
Specifies the type of EBS volumes attached to data nodes.
volume_size: Option<i32>
Specifies the size (in GiB) of EBS volumes attached to data nodes.
iops: Option<i32>
Specifies the baseline input/output (I/O) performance of EBS volumes attached to data nodes. Applicable only for the gp3
and provisioned IOPS EBS volume types.
throughput: Option<i32>
Specifies the throughput (in MiB/s) of the EBS volumes attached to data nodes. Applicable only for the gp3
volume type.
Implementations§
source§impl EbsOptions
impl EbsOptions
sourcepub fn ebs_enabled(&self) -> Option<bool>
pub fn ebs_enabled(&self) -> Option<bool>
Indicates whether EBS volumes are attached to data nodes in an OpenSearch Service domain.
sourcepub fn volume_type(&self) -> Option<&VolumeType>
pub fn volume_type(&self) -> Option<&VolumeType>
Specifies the type of EBS volumes attached to data nodes.
sourcepub fn volume_size(&self) -> Option<i32>
pub fn volume_size(&self) -> Option<i32>
Specifies the size (in GiB) of EBS volumes attached to data nodes.
sourcepub fn iops(&self) -> Option<i32>
pub fn iops(&self) -> Option<i32>
Specifies the baseline input/output (I/O) performance of EBS volumes attached to data nodes. Applicable only for the gp3
and provisioned IOPS EBS volume types.
sourcepub fn throughput(&self) -> Option<i32>
pub fn throughput(&self) -> Option<i32>
Specifies the throughput (in MiB/s) of the EBS volumes attached to data nodes. Applicable only for the gp3
volume type.
source§impl EbsOptions
impl EbsOptions
sourcepub fn builder() -> EbsOptionsBuilder
pub fn builder() -> EbsOptionsBuilder
Creates a new builder-style object to manufacture EbsOptions
.
Trait Implementations§
source§impl Clone for EbsOptions
impl Clone for EbsOptions
source§fn clone(&self) -> EbsOptions
fn clone(&self) -> EbsOptions
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EbsOptions
impl Debug for EbsOptions
source§impl PartialEq for EbsOptions
impl PartialEq for EbsOptions
source§fn eq(&self, other: &EbsOptions) -> bool
fn eq(&self, other: &EbsOptions) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EbsOptions
Auto Trait Implementations§
impl Freeze for EbsOptions
impl RefUnwindSafe for EbsOptions
impl Send for EbsOptions
impl Sync for EbsOptions
impl Unpin for EbsOptions
impl UnwindSafe for EbsOptions
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