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