Struct aws_sdk_ec2::model::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
sourceimpl 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.
sourceimpl VolumeModification
impl VolumeModification
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture VolumeModification
.
Trait Implementations
sourceimpl Clone for VolumeModification
impl Clone for VolumeModification
sourcefn clone(&self) -> VolumeModification
fn clone(&self) -> VolumeModification
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 more
sourceimpl Debug for VolumeModification
impl Debug for VolumeModification
sourceimpl PartialEq<VolumeModification> for VolumeModification
impl PartialEq<VolumeModification> for VolumeModification
sourcefn eq(&self, other: &VolumeModification) -> bool
fn eq(&self, other: &VolumeModification) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &VolumeModification) -> bool
fn ne(&self, other: &VolumeModification) -> bool
This method tests for !=
.
impl StructuralPartialEq for VolumeModification
Auto Trait Implementations
impl RefUnwindSafe for VolumeModification
impl Send for VolumeModification
impl Sync for VolumeModification
impl Unpin for VolumeModification
impl UnwindSafe for VolumeModification
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more