Struct aws_sdk_ec2::types::SnapshotInfo
source · #[non_exhaustive]pub struct SnapshotInfo {
pub description: Option<String>,
pub tags: Option<Vec<Tag>>,
pub encrypted: Option<bool>,
pub volume_id: Option<String>,
pub state: Option<SnapshotState>,
pub volume_size: Option<i32>,
pub start_time: Option<DateTime>,
pub progress: Option<String>,
pub owner_id: Option<String>,
pub snapshot_id: Option<String>,
pub outpost_arn: Option<String>,
}
Expand description
Information about a snapshot.
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.description: Option<String>
Description specified by the CreateSnapshotRequest that has been applied to all snapshots.
Tags associated with this snapshot.
encrypted: Option<bool>
Indicates whether the snapshot is encrypted.
volume_id: Option<String>
Source volume from which this snapshot was created.
state: Option<SnapshotState>
Current state of the snapshot.
volume_size: Option<i32>
Size of the volume from which this snapshot was created.
start_time: Option<DateTime>
Time this snapshot was started. This is the same for all snapshots initiated by the same request.
progress: Option<String>
Progress this snapshot has made towards completing.
owner_id: Option<String>
Account id used when creating this snapshot.
snapshot_id: Option<String>
Snapshot id that can be used to describe this snapshot.
outpost_arn: Option<String>
The ARN of the Outpost on which the snapshot is stored. For more information, see Amazon EBS local snapshots on Outposts in the Amazon Elastic Compute Cloud User Guide.
Implementations§
source§impl SnapshotInfo
impl SnapshotInfo
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Description specified by the CreateSnapshotRequest that has been applied to all snapshots.
Tags associated with this snapshot.
sourcepub fn state(&self) -> Option<&SnapshotState>
pub fn state(&self) -> Option<&SnapshotState>
Current state of the snapshot.
sourcepub fn volume_size(&self) -> Option<i32>
pub fn volume_size(&self) -> Option<i32>
Size of the volume from which this snapshot was created.
sourcepub fn start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
Time this snapshot was started. This is the same for all snapshots initiated by the same request.
sourcepub fn snapshot_id(&self) -> Option<&str>
pub fn snapshot_id(&self) -> Option<&str>
Snapshot id that can be used to describe this snapshot.
sourcepub fn outpost_arn(&self) -> Option<&str>
pub fn outpost_arn(&self) -> Option<&str>
The ARN of the Outpost on which the snapshot is stored. For more information, see Amazon EBS local snapshots on Outposts in the Amazon Elastic Compute Cloud User Guide.
source§impl SnapshotInfo
impl SnapshotInfo
sourcepub fn builder() -> SnapshotInfoBuilder
pub fn builder() -> SnapshotInfoBuilder
Creates a new builder-style object to manufacture SnapshotInfo
.
Trait Implementations§
source§impl Clone for SnapshotInfo
impl Clone for SnapshotInfo
source§fn clone(&self) -> SnapshotInfo
fn clone(&self) -> SnapshotInfo
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SnapshotInfo
impl Debug for SnapshotInfo
source§impl PartialEq<SnapshotInfo> for SnapshotInfo
impl PartialEq<SnapshotInfo> for SnapshotInfo
source§fn eq(&self, other: &SnapshotInfo) -> bool
fn eq(&self, other: &SnapshotInfo) -> bool
self
and other
values to be equal, and is used
by ==
.