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 for VolumeModification
impl PartialEq 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 ==
.impl StructuralPartialEq for VolumeModification
Auto Trait Implementations§
impl Freeze for VolumeModification
impl RefUnwindSafe for VolumeModification
impl Send for VolumeModification
impl Sync for VolumeModification
impl Unpin for VolumeModification
impl UnwindSafe for VolumeModification
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more