Struct aws_sdk_ec2::model::SnapshotTierStatus
source · [−]#[non_exhaustive]pub struct SnapshotTierStatus { /* private fields */ }
Expand description
Provides information about a snapshot's storage tier.
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
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more