Struct aws_sdk_ec2::model::SnapshotDiskContainer
source · #[non_exhaustive]pub struct SnapshotDiskContainer { /* private fields */ }
Expand description
The disk container object for the import snapshot request.
Implementations§
source§impl SnapshotDiskContainer
impl SnapshotDiskContainer
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the disk image being imported.
sourcepub fn format(&self) -> Option<&str>
pub fn format(&self) -> Option<&str>
The format of the disk image being imported.
Valid values: VHD
| VMDK
| RAW
sourcepub fn url(&self) -> Option<&str>
pub fn url(&self) -> Option<&str>
The URL to the Amazon S3-based disk image being imported. It can either be a https URL (https://..) or an Amazon S3 URL (s3://..).
sourcepub fn user_bucket(&self) -> Option<&UserBucket>
pub fn user_bucket(&self) -> Option<&UserBucket>
The Amazon S3 bucket for the disk image.
source§impl SnapshotDiskContainer
impl SnapshotDiskContainer
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture SnapshotDiskContainer
.
Trait Implementations§
source§impl Clone for SnapshotDiskContainer
impl Clone for SnapshotDiskContainer
source§fn clone(&self) -> SnapshotDiskContainer
fn clone(&self) -> SnapshotDiskContainer
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 more