Struct aws_sdk_ec2::model::SnapshotInfo
source · #[non_exhaustive]pub struct SnapshotInfo { /* private fields */ }
Expand description
Information about a snapshot.
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() -> Builder
pub fn builder() -> Builder
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
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
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
This method tests for
self
and other
values to be equal, and is used
by ==
.