Struct aws_sdk_ec2::types::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§
source§impl 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.
source§impl SnapshotTierStatus
impl SnapshotTierStatus
sourcepub fn builder() -> SnapshotTierStatusBuilder
pub fn builder() -> SnapshotTierStatusBuilder
Creates a new builder-style object to manufacture SnapshotTierStatus
.
Trait Implementations§
source§impl Clone for SnapshotTierStatus
impl Clone for SnapshotTierStatus
source§fn clone(&self) -> SnapshotTierStatus
fn clone(&self) -> SnapshotTierStatus
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SnapshotTierStatus
impl Debug for SnapshotTierStatus
source§impl PartialEq<SnapshotTierStatus> for SnapshotTierStatus
impl PartialEq<SnapshotTierStatus> for SnapshotTierStatus
source§fn eq(&self, other: &SnapshotTierStatus) -> bool
fn eq(&self, other: &SnapshotTierStatus) -> bool
self
and other
values to be equal, and is used
by ==
.