Struct aws_sdk_ec2::types::DiskImageDescription
source · #[non_exhaustive]pub struct DiskImageDescription {
pub checksum: Option<String>,
pub format: Option<DiskImageFormat>,
pub import_manifest_url: Option<String>,
pub size: Option<i64>,
}
Expand description
Describes a disk image.
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.checksum: Option<String>
The checksum computed for the disk image.
format: Option<DiskImageFormat>
The disk image format.
import_manifest_url: Option<String>
A presigned URL for the import manifest stored in Amazon S3. For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide.
For information about the import manifest referenced by this API action, see VM Import Manifest.
size: Option<i64>
The size of the disk image, in GiB.
Implementations§
source§impl DiskImageDescription
impl DiskImageDescription
sourcepub fn format(&self) -> Option<&DiskImageFormat>
pub fn format(&self) -> Option<&DiskImageFormat>
The disk image format.
sourcepub fn import_manifest_url(&self) -> Option<&str>
pub fn import_manifest_url(&self) -> Option<&str>
A presigned URL for the import manifest stored in Amazon S3. For information about creating a presigned URL for an Amazon S3 object, read the "Query String Request Authentication Alternative" section of the Authenticating REST Requests topic in the Amazon Simple Storage Service Developer Guide.
For information about the import manifest referenced by this API action, see VM Import Manifest.
source§impl DiskImageDescription
impl DiskImageDescription
sourcepub fn builder() -> DiskImageDescriptionBuilder
pub fn builder() -> DiskImageDescriptionBuilder
Creates a new builder-style object to manufacture DiskImageDescription
.
Trait Implementations§
source§impl Clone for DiskImageDescription
impl Clone for DiskImageDescription
source§fn clone(&self) -> DiskImageDescription
fn clone(&self) -> DiskImageDescription
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DiskImageDescription
impl Debug for DiskImageDescription
source§impl PartialEq<DiskImageDescription> for DiskImageDescription
impl PartialEq<DiskImageDescription> for DiskImageDescription
source§fn eq(&self, other: &DiskImageDescription) -> bool
fn eq(&self, other: &DiskImageDescription) -> bool
self
and other
values to be equal, and is used
by ==
.