Struct aws_sdk_securityhub::model::AwsEc2VolumeDetails
source · [−]#[non_exhaustive]pub struct AwsEc2VolumeDetails { /* private fields */ }Expand description
Details about an EC2 volume.
Implementations
sourceimpl 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.
sourceimpl AwsEc2VolumeDetails
impl AwsEc2VolumeDetails
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture AwsEc2VolumeDetails.
Trait Implementations
sourceimpl Clone for AwsEc2VolumeDetails
impl Clone for AwsEc2VolumeDetails
sourcefn clone(&self) -> AwsEc2VolumeDetails
fn clone(&self) -> AwsEc2VolumeDetails
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 moresourceimpl Debug for AwsEc2VolumeDetails
impl Debug for AwsEc2VolumeDetails
sourceimpl PartialEq<AwsEc2VolumeDetails> for AwsEc2VolumeDetails
impl PartialEq<AwsEc2VolumeDetails> for AwsEc2VolumeDetails
sourcefn eq(&self, other: &AwsEc2VolumeDetails) -> bool
fn eq(&self, other: &AwsEc2VolumeDetails) -> bool
impl StructuralPartialEq for AwsEc2VolumeDetails
Auto Trait Implementations
impl RefUnwindSafe for AwsEc2VolumeDetails
impl Send for AwsEc2VolumeDetails
impl Sync for AwsEc2VolumeDetails
impl Unpin for AwsEc2VolumeDetails
impl UnwindSafe for AwsEc2VolumeDetails
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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