Struct aws_sdk_ec2::types::builders::DiskImageDescriptionBuilder
source · #[non_exhaustive]pub struct DiskImageDescriptionBuilder { /* private fields */ }
Expand description
A builder for DiskImageDescription
.
Implementations§
source§impl DiskImageDescriptionBuilder
impl DiskImageDescriptionBuilder
sourcepub fn checksum(self, input: impl Into<String>) -> Self
pub fn checksum(self, input: impl Into<String>) -> Self
The checksum computed for the disk image.
sourcepub fn set_checksum(self, input: Option<String>) -> Self
pub fn set_checksum(self, input: Option<String>) -> Self
The checksum computed for the disk image.
sourcepub fn get_checksum(&self) -> &Option<String>
pub fn get_checksum(&self) -> &Option<String>
The checksum computed for the disk image.
sourcepub fn format(self, input: DiskImageFormat) -> Self
pub fn format(self, input: DiskImageFormat) -> Self
The disk image format.
sourcepub fn set_format(self, input: Option<DiskImageFormat>) -> Self
pub fn set_format(self, input: Option<DiskImageFormat>) -> Self
The disk image format.
sourcepub fn get_format(&self) -> &Option<DiskImageFormat>
pub fn get_format(&self) -> &Option<DiskImageFormat>
The disk image format.
sourcepub fn import_manifest_url(self, input: impl Into<String>) -> Self
pub fn import_manifest_url(self, input: impl Into<String>) -> Self
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.
sourcepub fn set_import_manifest_url(self, input: Option<String>) -> Self
pub fn set_import_manifest_url(self, input: Option<String>) -> Self
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.
sourcepub fn get_import_manifest_url(&self) -> &Option<String>
pub fn get_import_manifest_url(&self) -> &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.
sourcepub fn build(self) -> DiskImageDescription
pub fn build(self) -> DiskImageDescription
Consumes the builder and constructs a DiskImageDescription
.
Trait Implementations§
source§impl Clone for DiskImageDescriptionBuilder
impl Clone for DiskImageDescriptionBuilder
source§fn clone(&self) -> DiskImageDescriptionBuilder
fn clone(&self) -> DiskImageDescriptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DiskImageDescriptionBuilder
impl Debug for DiskImageDescriptionBuilder
source§impl Default for DiskImageDescriptionBuilder
impl Default for DiskImageDescriptionBuilder
source§fn default() -> DiskImageDescriptionBuilder
fn default() -> DiskImageDescriptionBuilder
source§impl PartialEq<DiskImageDescriptionBuilder> for DiskImageDescriptionBuilder
impl PartialEq<DiskImageDescriptionBuilder> for DiskImageDescriptionBuilder
source§fn eq(&self, other: &DiskImageDescriptionBuilder) -> bool
fn eq(&self, other: &DiskImageDescriptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.