Struct aws_sdk_securityhub::model::AwsEc2VolumeDetails
source · #[non_exhaustive]pub struct AwsEc2VolumeDetails { /* private fields */ }
Expand description
Details about an EC2 volume.
Implementations§
source§impl AwsEc2VolumeDetails
impl AwsEc2VolumeDetails
sourcepub fn create_time(&self) -> Option<&str>
pub fn create_time(&self) -> Option<&str>
Indicates when the volume was created.
Uses the date-time
format specified in RFC 3339 section 5.6, Internet Date/Time Format. The value cannot contain spaces. For example, 2020-03-22T13:22:13.933Z
.
sourcepub fn device_name(&self) -> Option<&str>
pub fn device_name(&self) -> Option<&str>
The device name for the volume that is attached to the instance.
sourcepub fn snapshot_id(&self) -> Option<&str>
pub fn snapshot_id(&self) -> Option<&str>
The snapshot from which the volume was created.
sourcepub fn status(&self) -> Option<&str>
pub fn status(&self) -> Option<&str>
The volume state. Valid values are as follows:
-
available
-
creating
-
deleted
-
deleting
-
error
-
in-use
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The ARN of the KMS key that was used to protect the volume encryption key for the volume.
sourcepub fn attachments(&self) -> Option<&[AwsEc2VolumeAttachment]>
pub fn attachments(&self) -> Option<&[AwsEc2VolumeAttachment]>
The volume attachments.
sourcepub fn volume_type(&self) -> Option<&str>
pub fn volume_type(&self) -> Option<&str>
The volume type.
sourcepub fn volume_scan_status(&self) -> Option<&str>
pub fn volume_scan_status(&self) -> Option<&str>
Indicates whether the volume was scanned or skipped.
source§impl AwsEc2VolumeDetails
impl AwsEc2VolumeDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEc2VolumeDetails
.
Trait Implementations§
source§impl Clone for AwsEc2VolumeDetails
impl Clone for AwsEc2VolumeDetails
source§fn clone(&self) -> AwsEc2VolumeDetails
fn clone(&self) -> AwsEc2VolumeDetails
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 AwsEc2VolumeDetails
impl Debug for AwsEc2VolumeDetails
source§impl PartialEq<AwsEc2VolumeDetails> for AwsEc2VolumeDetails
impl PartialEq<AwsEc2VolumeDetails> for AwsEc2VolumeDetails
source§fn eq(&self, other: &AwsEc2VolumeDetails) -> bool
fn eq(&self, other: &AwsEc2VolumeDetails) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.