Struct aws_sdk_ec2::types::SnapshotTaskDetail
source · #[non_exhaustive]pub struct SnapshotTaskDetail {
pub description: Option<String>,
pub disk_image_size: Option<f64>,
pub encrypted: Option<bool>,
pub format: Option<String>,
pub kms_key_id: Option<String>,
pub progress: Option<String>,
pub snapshot_id: Option<String>,
pub status: Option<String>,
pub status_message: Option<String>,
pub url: Option<String>,
pub user_bucket: Option<UserBucketDetails>,
}
Expand description
Details about the import snapshot task.
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>
The description of the snapshot.
disk_image_size: Option<f64>
The size of the disk in the snapshot, in GiB.
encrypted: Option<bool>
Indicates whether the snapshot is encrypted.
format: Option<String>
The format of the disk image from which the snapshot is created.
kms_key_id: Option<String>
The identifier for the KMS key that was used to create the encrypted snapshot.
progress: Option<String>
The percentage of completion for the import snapshot task.
snapshot_id: Option<String>
The snapshot ID of the disk being imported.
status: Option<String>
A brief status for the import snapshot task.
status_message: Option<String>
A detailed status message for the import snapshot task.
url: Option<String>
The URL of the disk image from which the snapshot is created.
user_bucket: Option<UserBucketDetails>
The Amazon S3 bucket for the disk image.
Implementations§
source§impl SnapshotTaskDetail
impl SnapshotTaskDetail
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the snapshot.
sourcepub fn disk_image_size(&self) -> Option<f64>
pub fn disk_image_size(&self) -> Option<f64>
The size of the disk in the snapshot, in GiB.
sourcepub fn format(&self) -> Option<&str>
pub fn format(&self) -> Option<&str>
The format of the disk image from which the snapshot is created.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The identifier for the KMS key that was used to create the encrypted snapshot.
sourcepub fn progress(&self) -> Option<&str>
pub fn progress(&self) -> Option<&str>
The percentage of completion for the import snapshot task.
sourcepub fn snapshot_id(&self) -> Option<&str>
pub fn snapshot_id(&self) -> Option<&str>
The snapshot ID of the disk being imported.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
A detailed status message for the import snapshot task.
sourcepub fn url(&self) -> Option<&str>
pub fn url(&self) -> Option<&str>
The URL of the disk image from which the snapshot is created.
sourcepub fn user_bucket(&self) -> Option<&UserBucketDetails>
pub fn user_bucket(&self) -> Option<&UserBucketDetails>
The Amazon S3 bucket for the disk image.
source§impl SnapshotTaskDetail
impl SnapshotTaskDetail
sourcepub fn builder() -> SnapshotTaskDetailBuilder
pub fn builder() -> SnapshotTaskDetailBuilder
Creates a new builder-style object to manufacture SnapshotTaskDetail
.
Trait Implementations§
source§impl Clone for SnapshotTaskDetail
impl Clone for SnapshotTaskDetail
source§fn clone(&self) -> SnapshotTaskDetail
fn clone(&self) -> SnapshotTaskDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for SnapshotTaskDetail
impl Debug for SnapshotTaskDetail
source§impl PartialEq<SnapshotTaskDetail> for SnapshotTaskDetail
impl PartialEq<SnapshotTaskDetail> for SnapshotTaskDetail
source§fn eq(&self, other: &SnapshotTaskDetail) -> bool
fn eq(&self, other: &SnapshotTaskDetail) -> bool
self
and other
values to be equal, and is used
by ==
.