Struct aws_sdk_ec2::types::VolumeModification
source · #[non_exhaustive]pub struct VolumeModification {Show 16 fields
pub volume_id: Option<String>,
pub modification_state: Option<VolumeModificationState>,
pub status_message: Option<String>,
pub target_size: Option<i32>,
pub target_iops: Option<i32>,
pub target_volume_type: Option<VolumeType>,
pub target_throughput: Option<i32>,
pub target_multi_attach_enabled: Option<bool>,
pub original_size: Option<i32>,
pub original_iops: Option<i32>,
pub original_volume_type: Option<VolumeType>,
pub original_throughput: Option<i32>,
pub original_multi_attach_enabled: Option<bool>,
pub progress: Option<i64>,
pub start_time: Option<DateTime>,
pub end_time: Option<DateTime>,
}
Expand description
Describes the modification status of an EBS volume.
If the volume has never been modified, some element values will be null.
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.volume_id: Option<String>
The ID of the volume.
modification_state: Option<VolumeModificationState>
The current modification state. The modification state is null for unmodified volumes.
status_message: Option<String>
A status message about the modification progress or failure.
target_size: Option<i32>
The target size of the volume, in GiB.
target_iops: Option<i32>
The target IOPS rate of the volume.
target_volume_type: Option<VolumeType>
The target EBS volume type of the volume.
target_throughput: Option<i32>
The target throughput of the volume, in MiB/s.
target_multi_attach_enabled: Option<bool>
The target setting for Amazon EBS Multi-Attach.
original_size: Option<i32>
The original size of the volume, in GiB.
original_iops: Option<i32>
The original IOPS rate of the volume.
original_volume_type: Option<VolumeType>
The original EBS volume type of the volume.
original_throughput: Option<i32>
The original throughput of the volume, in MiB/s.
original_multi_attach_enabled: Option<bool>
The original setting for Amazon EBS Multi-Attach.
progress: Option<i64>
The modification progress, from 0 to 100 percent complete.
start_time: Option<DateTime>
The modification start time.
end_time: Option<DateTime>
The modification completion or failure time.
Implementations§
source§impl VolumeModification
impl VolumeModification
sourcepub fn modification_state(&self) -> Option<&VolumeModificationState>
pub fn modification_state(&self) -> Option<&VolumeModificationState>
The current modification state. The modification state is null for unmodified volumes.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
A status message about the modification progress or failure.
sourcepub fn target_size(&self) -> Option<i32>
pub fn target_size(&self) -> Option<i32>
The target size of the volume, in GiB.
sourcepub fn target_iops(&self) -> Option<i32>
pub fn target_iops(&self) -> Option<i32>
The target IOPS rate of the volume.
sourcepub fn target_volume_type(&self) -> Option<&VolumeType>
pub fn target_volume_type(&self) -> Option<&VolumeType>
The target EBS volume type of the volume.
sourcepub fn target_throughput(&self) -> Option<i32>
pub fn target_throughput(&self) -> Option<i32>
The target throughput of the volume, in MiB/s.
sourcepub fn target_multi_attach_enabled(&self) -> Option<bool>
pub fn target_multi_attach_enabled(&self) -> Option<bool>
The target setting for Amazon EBS Multi-Attach.
sourcepub fn original_size(&self) -> Option<i32>
pub fn original_size(&self) -> Option<i32>
The original size of the volume, in GiB.
sourcepub fn original_iops(&self) -> Option<i32>
pub fn original_iops(&self) -> Option<i32>
The original IOPS rate of the volume.
sourcepub fn original_volume_type(&self) -> Option<&VolumeType>
pub fn original_volume_type(&self) -> Option<&VolumeType>
The original EBS volume type of the volume.
sourcepub fn original_throughput(&self) -> Option<i32>
pub fn original_throughput(&self) -> Option<i32>
The original throughput of the volume, in MiB/s.
sourcepub fn original_multi_attach_enabled(&self) -> Option<bool>
pub fn original_multi_attach_enabled(&self) -> Option<bool>
The original setting for Amazon EBS Multi-Attach.
sourcepub fn progress(&self) -> Option<i64>
pub fn progress(&self) -> Option<i64>
The modification progress, from 0 to 100 percent complete.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The modification start time.
source§impl VolumeModification
impl VolumeModification
sourcepub fn builder() -> VolumeModificationBuilder
pub fn builder() -> VolumeModificationBuilder
Creates a new builder-style object to manufacture VolumeModification
.
Trait Implementations§
source§impl Clone for VolumeModification
impl Clone for VolumeModification
source§fn clone(&self) -> VolumeModification
fn clone(&self) -> VolumeModification
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for VolumeModification
impl Debug for VolumeModification
source§impl PartialEq<VolumeModification> for VolumeModification
impl PartialEq<VolumeModification> for VolumeModification
source§fn eq(&self, other: &VolumeModification) -> bool
fn eq(&self, other: &VolumeModification) -> bool
self
and other
values to be equal, and is used
by ==
.