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