Struct aws_sdk_ec2::model::SnapshotTierStatus
source · [−]#[non_exhaustive]pub struct SnapshotTierStatus {
pub snapshot_id: Option<String>,
pub volume_id: Option<String>,
pub status: Option<SnapshotState>,
pub owner_id: Option<String>,
pub tags: Option<Vec<Tag>>,
pub storage_tier: Option<StorageTier>,
pub last_tiering_start_time: Option<DateTime>,
pub last_tiering_progress: Option<i32>,
pub last_tiering_operation_status: Option<TieringOperationStatus>,
pub last_tiering_operation_status_detail: Option<String>,
pub archival_complete_time: Option<DateTime>,
pub restore_expiry_time: Option<DateTime>,
}
Expand description
Provides information about a snapshot's storage tier.
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.snapshot_id: Option<String>
The ID of the snapshot.
volume_id: Option<String>
The ID of the volume from which the snapshot was created.
status: Option<SnapshotState>
The state of the snapshot.
owner_id: Option<String>
The ID of the Amazon Web Services account that owns the snapshot.
The tags that are assigned to the snapshot.
storage_tier: Option<StorageTier>
The storage tier in which the snapshot is stored. standard
indicates that the snapshot is stored in the standard snapshot storage tier and that it is ready for use. archive
indicates that the snapshot is currently archived and that it must be restored before it can be used.
last_tiering_start_time: Option<DateTime>
The date and time when the last archive or restore process was started.
last_tiering_progress: Option<i32>
The progress of the last archive or restore process, as a percentage.
last_tiering_operation_status: Option<TieringOperationStatus>
The status of the last archive or restore process.
last_tiering_operation_status_detail: Option<String>
A message describing the status of the last archive or restore process.
archival_complete_time: Option<DateTime>
The date and time when the last archive process was completed.
restore_expiry_time: Option<DateTime>
Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived.
Implementations
sourceimpl SnapshotTierStatus
impl SnapshotTierStatus
sourcepub fn snapshot_id(&self) -> Option<&str>
pub fn snapshot_id(&self) -> Option<&str>
The ID of the snapshot.
sourcepub fn volume_id(&self) -> Option<&str>
pub fn volume_id(&self) -> Option<&str>
The ID of the volume from which the snapshot was created.
sourcepub fn status(&self) -> Option<&SnapshotState>
pub fn status(&self) -> Option<&SnapshotState>
The state of the snapshot.
sourcepub fn owner_id(&self) -> Option<&str>
pub fn owner_id(&self) -> Option<&str>
The ID of the Amazon Web Services account that owns the snapshot.
The tags that are assigned to the snapshot.
sourcepub fn storage_tier(&self) -> Option<&StorageTier>
pub fn storage_tier(&self) -> Option<&StorageTier>
The storage tier in which the snapshot is stored. standard
indicates that the snapshot is stored in the standard snapshot storage tier and that it is ready for use. archive
indicates that the snapshot is currently archived and that it must be restored before it can be used.
sourcepub fn last_tiering_start_time(&self) -> Option<&DateTime>
pub fn last_tiering_start_time(&self) -> Option<&DateTime>
The date and time when the last archive or restore process was started.
sourcepub fn last_tiering_progress(&self) -> Option<i32>
pub fn last_tiering_progress(&self) -> Option<i32>
The progress of the last archive or restore process, as a percentage.
sourcepub fn last_tiering_operation_status(&self) -> Option<&TieringOperationStatus>
pub fn last_tiering_operation_status(&self) -> Option<&TieringOperationStatus>
The status of the last archive or restore process.
sourcepub fn last_tiering_operation_status_detail(&self) -> Option<&str>
pub fn last_tiering_operation_status_detail(&self) -> Option<&str>
A message describing the status of the last archive or restore process.
sourcepub fn archival_complete_time(&self) -> Option<&DateTime>
pub fn archival_complete_time(&self) -> Option<&DateTime>
The date and time when the last archive process was completed.
sourcepub fn restore_expiry_time(&self) -> Option<&DateTime>
pub fn restore_expiry_time(&self) -> Option<&DateTime>
Only for archived snapshots that are temporarily restored. Indicates the date and time when a temporarily restored snapshot will be automatically re-archived.
sourceimpl SnapshotTierStatus
impl SnapshotTierStatus
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SnapshotTierStatus
.
Trait Implementations
sourceimpl Clone for SnapshotTierStatus
impl Clone for SnapshotTierStatus
sourcefn clone(&self) -> SnapshotTierStatus
fn clone(&self) -> SnapshotTierStatus
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 SnapshotTierStatus
impl Debug for SnapshotTierStatus
sourceimpl PartialEq<SnapshotTierStatus> for SnapshotTierStatus
impl PartialEq<SnapshotTierStatus> for SnapshotTierStatus
sourcefn eq(&self, other: &SnapshotTierStatus) -> bool
fn eq(&self, other: &SnapshotTierStatus) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &SnapshotTierStatus) -> bool
fn ne(&self, other: &SnapshotTierStatus) -> bool
This method tests for !=
.
impl StructuralPartialEq for SnapshotTierStatus
Auto Trait Implementations
impl RefUnwindSafe for SnapshotTierStatus
impl Send for SnapshotTierStatus
impl Sync for SnapshotTierStatus
impl Unpin for SnapshotTierStatus
impl UnwindSafe for SnapshotTierStatus
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