Struct aws_sdk_opensearch::model::StorageType
source · [−]#[non_exhaustive]pub struct StorageType { /* private fields */ }Expand description
StorageTypes represents the list of storage-related types and their attributes that are available for a given InstanceType.
Implementations
sourceimpl StorageType
impl StorageType
sourcepub fn storage_type_name(&self) -> Option<&str>
pub fn storage_type_name(&self) -> Option<&str>
Type of storage. List of available storage options:
- instance Built-in storage available for the instance
- ebs Elastic block storage attached to the instance
sourcepub fn storage_sub_type_name(&self) -> Option<&str>
pub fn storage_sub_type_name(&self) -> Option<&str>
Sub-type of the given storage type. List of available sub-storage options: "instance" storageType has no storageSubType. "ebs" storageType has the following valid storageSubTypes:
- standard
- gp2
- gp3
- io1
VolumeType for more information regarding each EBS storage option.
sourcepub fn storage_type_limits(&self) -> Option<&[StorageTypeLimit]>
pub fn storage_type_limits(&self) -> Option<&[StorageTypeLimit]>
Limits that are applicable for the given storage type.
sourceimpl StorageType
impl StorageType
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StorageType.
Trait Implementations
sourceimpl Clone for StorageType
impl Clone for StorageType
sourcefn clone(&self) -> StorageType
fn clone(&self) -> StorageType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for StorageType
impl Debug for StorageType
sourceimpl PartialEq<StorageType> for StorageType
impl PartialEq<StorageType> for StorageType
sourcefn eq(&self, other: &StorageType) -> bool
fn eq(&self, other: &StorageType) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &StorageType) -> bool
fn ne(&self, other: &StorageType) -> bool
This method tests for !=.
impl StructuralPartialEq for StorageType
Auto Trait Implementations
impl RefUnwindSafe for StorageType
impl Send for StorageType
impl Sync for StorageType
impl Unpin for StorageType
impl UnwindSafe for StorageType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more