Struct aws_sdk_elasticsearch::types::StorageType
source · #[non_exhaustive]pub struct StorageType {
pub storage_type_name: Option<String>,
pub storage_sub_type_name: Option<String>,
pub storage_type_limits: Option<Vec<StorageTypeLimit>>,
}
Expand description
StorageTypes represents the list of storage related types and their attributes that are available for given InstanceType.
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.storage_type_name: Option<String>
Type of the storage. List of available storage options:
- instance Inbuilt storage available for the given Instance
- ebs Elastic block storage that would be attached to the given Instance
storage_sub_type_name: Option<String>
SubType of the given storage type. List of available sub-storage options: For "instance" storageType we wont have any storageSubType, in case of "ebs" storageType we will have following valid storageSubTypes
- standard
- gp2
- gp3
- io1
VolumeType
for more information regarding above EBS storage options.
storage_type_limits: Option<Vec<StorageTypeLimit>>
List of limits that are applicable for given storage type.
Implementations§
source§impl StorageType
impl StorageType
sourcepub fn storage_type_name(&self) -> Option<&str>
pub fn storage_type_name(&self) -> Option<&str>
Type of the storage. List of available storage options:
- instance Inbuilt storage available for the given Instance
- ebs Elastic block storage that would be attached to the given Instance
sourcepub fn storage_sub_type_name(&self) -> Option<&str>
pub fn storage_sub_type_name(&self) -> Option<&str>
SubType of the given storage type. List of available sub-storage options: For "instance" storageType we wont have any storageSubType, in case of "ebs" storageType we will have following valid storageSubTypes
- standard
- gp2
- gp3
- io1
VolumeType
for more information regarding above EBS storage options.
sourcepub fn storage_type_limits(&self) -> &[StorageTypeLimit]
pub fn storage_type_limits(&self) -> &[StorageTypeLimit]
List of limits that are applicable for given storage type.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .storage_type_limits.is_none()
.
source§impl StorageType
impl StorageType
sourcepub fn builder() -> StorageTypeBuilder
pub fn builder() -> StorageTypeBuilder
Creates a new builder-style object to manufacture StorageType
.
Trait Implementations§
source§impl Clone for StorageType
impl Clone for StorageType
source§fn clone(&self) -> StorageType
fn clone(&self) -> StorageType
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for StorageType
impl Debug for StorageType
source§impl PartialEq for StorageType
impl PartialEq for StorageType
source§fn eq(&self, other: &StorageType) -> bool
fn eq(&self, other: &StorageType) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StorageType
Auto Trait Implementations§
impl Freeze for StorageType
impl RefUnwindSafe for StorageType
impl Send for StorageType
impl Sync for StorageType
impl Unpin for StorageType
impl UnwindSafe for StorageType
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> 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