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 ==
.