Struct aws_sdk_ec2::types::builders::DiskImageDetailBuilder
source · #[non_exhaustive]pub struct DiskImageDetailBuilder { /* private fields */ }
Expand description
A builder for DiskImageDetail
.
Implementations§
source§impl DiskImageDetailBuilder
impl DiskImageDetailBuilder
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 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 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 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
.
Trait Implementations§
source§impl Clone for DiskImageDetailBuilder
impl Clone for DiskImageDetailBuilder
source§fn clone(&self) -> DiskImageDetailBuilder
fn clone(&self) -> DiskImageDetailBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DiskImageDetailBuilder
impl Debug for DiskImageDetailBuilder
source§impl Default for DiskImageDetailBuilder
impl Default for DiskImageDetailBuilder
source§fn default() -> DiskImageDetailBuilder
fn default() -> DiskImageDetailBuilder
source§impl PartialEq<DiskImageDetailBuilder> for DiskImageDetailBuilder
impl PartialEq<DiskImageDetailBuilder> for DiskImageDetailBuilder
source§fn eq(&self, other: &DiskImageDetailBuilder) -> bool
fn eq(&self, other: &DiskImageDetailBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.