Struct aws_sdk_ec2::model::InstanceStorageInfo
source · #[non_exhaustive]pub struct InstanceStorageInfo { /* private fields */ }
Expand description
Describes the instance store features that are supported by the instance type.
Implementations§
source§impl InstanceStorageInfo
impl InstanceStorageInfo
sourcepub fn total_size_in_gb(&self) -> Option<i64>
pub fn total_size_in_gb(&self) -> Option<i64>
The total size of the disks, in GB.
sourcepub fn disks(&self) -> Option<&[DiskInfo]>
pub fn disks(&self) -> Option<&[DiskInfo]>
Describes the disks that are available for the instance type.
sourcepub fn nvme_support(&self) -> Option<&EphemeralNvmeSupport>
pub fn nvme_support(&self) -> Option<&EphemeralNvmeSupport>
Indicates whether non-volatile memory express (NVMe) is supported.
sourcepub fn encryption_support(&self) -> Option<&InstanceStorageEncryptionSupport>
pub fn encryption_support(&self) -> Option<&InstanceStorageEncryptionSupport>
Indicates whether data is encrypted at rest.
source§impl InstanceStorageInfo
impl InstanceStorageInfo
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture InstanceStorageInfo
.
Trait Implementations§
source§impl Clone for InstanceStorageInfo
impl Clone for InstanceStorageInfo
source§fn clone(&self) -> InstanceStorageInfo
fn clone(&self) -> InstanceStorageInfo
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 InstanceStorageInfo
impl Debug for InstanceStorageInfo
source§impl PartialEq<InstanceStorageInfo> for InstanceStorageInfo
impl PartialEq<InstanceStorageInfo> for InstanceStorageInfo
source§fn eq(&self, other: &InstanceStorageInfo) -> bool
fn eq(&self, other: &InstanceStorageInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.