Struct aws_sdk_ec2::model::disk_image_description::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for DiskImageDescription
.
Implementations§
source§impl Builder
impl Builder
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 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 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 build(self) -> DiskImageDescription
pub fn build(self) -> DiskImageDescription
Consumes the builder and constructs a DiskImageDescription
.