Struct aws_sdk_ec2::types::VolumeStatusItem
source · #[non_exhaustive]pub struct VolumeStatusItem {
pub actions: Option<Vec<VolumeStatusAction>>,
pub availability_zone: Option<String>,
pub outpost_arn: Option<String>,
pub events: Option<Vec<VolumeStatusEvent>>,
pub volume_id: Option<String>,
pub volume_status: Option<VolumeStatusInfo>,
pub attachment_statuses: Option<Vec<VolumeStatusAttachmentStatus>>,
}
Expand description
Describes the volume status.
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.actions: Option<Vec<VolumeStatusAction>>
The details of the operation.
availability_zone: Option<String>
The Availability Zone of the volume.
outpost_arn: Option<String>
The Amazon Resource Name (ARN) of the Outpost.
events: Option<Vec<VolumeStatusEvent>>
A list of events associated with the volume.
volume_id: Option<String>
The volume ID.
volume_status: Option<VolumeStatusInfo>
The volume status.
attachment_statuses: Option<Vec<VolumeStatusAttachmentStatus>>
Information about the instances to which the volume is attached.
Implementations§
source§impl VolumeStatusItem
impl VolumeStatusItem
sourcepub fn actions(&self) -> &[VolumeStatusAction]
pub fn actions(&self) -> &[VolumeStatusAction]
The details of the operation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .actions.is_none()
.
sourcepub fn availability_zone(&self) -> Option<&str>
pub fn availability_zone(&self) -> Option<&str>
The Availability Zone of the volume.
sourcepub fn outpost_arn(&self) -> Option<&str>
pub fn outpost_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) of the Outpost.
sourcepub fn events(&self) -> &[VolumeStatusEvent]
pub fn events(&self) -> &[VolumeStatusEvent]
A list of events associated with the volume.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .events.is_none()
.
sourcepub fn volume_status(&self) -> Option<&VolumeStatusInfo>
pub fn volume_status(&self) -> Option<&VolumeStatusInfo>
The volume status.
sourcepub fn attachment_statuses(&self) -> &[VolumeStatusAttachmentStatus]
pub fn attachment_statuses(&self) -> &[VolumeStatusAttachmentStatus]
Information about the instances to which the volume is attached.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .attachment_statuses.is_none()
.
source§impl VolumeStatusItem
impl VolumeStatusItem
sourcepub fn builder() -> VolumeStatusItemBuilder
pub fn builder() -> VolumeStatusItemBuilder
Creates a new builder-style object to manufacture VolumeStatusItem
.
Trait Implementations§
source§impl Clone for VolumeStatusItem
impl Clone for VolumeStatusItem
source§fn clone(&self) -> VolumeStatusItem
fn clone(&self) -> VolumeStatusItem
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VolumeStatusItem
impl Debug for VolumeStatusItem
source§impl PartialEq for VolumeStatusItem
impl PartialEq for VolumeStatusItem
source§fn eq(&self, other: &VolumeStatusItem) -> bool
fn eq(&self, other: &VolumeStatusItem) -> bool
self
and other
values to be equal, and is used
by ==
.