Struct aws_sdk_ec2::types::DiskImageDetail
source · #[non_exhaustive]pub struct DiskImageDetail {
pub bytes: Option<i64>,
pub format: Option<DiskImageFormat>,
pub import_manifest_url: Option<String>,
}
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.bytes: Option<i64>
The size of the disk image, in GiB.
format: Option<DiskImageFormat>
The disk image format.
import_manifest_url: Option<String>
A presigned URL for the import manifest stored in Amazon S3 and presented here as an Amazon S3 presigned URL. 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.
Implementations§
source§impl DiskImageDetail
impl DiskImageDetail
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 and presented here as an Amazon S3 presigned URL. 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 DiskImageDetail
impl DiskImageDetail
sourcepub fn builder() -> DiskImageDetailBuilder
pub fn builder() -> DiskImageDetailBuilder
Creates a new builder-style object to manufacture DiskImageDetail
.
Trait Implementations§
source§impl Clone for DiskImageDetail
impl Clone for DiskImageDetail
source§fn clone(&self) -> DiskImageDetail
fn clone(&self) -> DiskImageDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DiskImageDetail
impl Debug for DiskImageDetail
source§impl PartialEq<DiskImageDetail> for DiskImageDetail
impl PartialEq<DiskImageDetail> for DiskImageDetail
source§fn eq(&self, other: &DiskImageDetail) -> bool
fn eq(&self, other: &DiskImageDetail) -> bool
self
and other
values to be equal, and is used
by ==
.