Struct aws_sdk_elasticsearch::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
Options to enable, disable, and specify the properties of EBS storage volumes. For more information, see Configuring EBS-based Storage.
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.ebs_enabled: Option<bool>
Specifies whether EBS-based storage is enabled.
volume_type: Option<VolumeType>
Specifies the volume type for EBS-based storage.
volume_size: Option<i32>
Integer to specify the size of an EBS volume.
iops: Option<i32>
Specifies the IOPS for Provisioned IOPS And GP3 EBS volume (SSD).
throughput: Option<i32>
Specifies the Throughput for GP3 EBS volume (SSD).
Implementations§
source§impl EbsOptions
impl EbsOptions
sourcepub fn ebs_enabled(&self) -> Option<bool>
pub fn ebs_enabled(&self) -> Option<bool>
Specifies whether EBS-based storage is enabled.
sourcepub fn volume_type(&self) -> Option<&VolumeType>
pub fn volume_type(&self) -> Option<&VolumeType>
Specifies the volume type for EBS-based storage.
sourcepub fn volume_size(&self) -> Option<i32>
pub fn volume_size(&self) -> Option<i32>
Integer to specify the size of an EBS volume.
sourcepub fn iops(&self) -> Option<i32>
pub fn iops(&self) -> Option<i32>
Specifies the IOPS for Provisioned IOPS And GP3 EBS volume (SSD).
sourcepub fn throughput(&self) -> Option<i32>
pub fn throughput(&self) -> Option<i32>
Specifies the Throughput for GP3 EBS volume (SSD).
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
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 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
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EbsOptions
Auto Trait Implementations§
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
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.