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 for DiskImageDescriptionBuilder
impl PartialEq 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 ==
.impl StructuralPartialEq for DiskImageDescriptionBuilder
Auto Trait Implementations§
impl Freeze for DiskImageDescriptionBuilder
impl RefUnwindSafe for DiskImageDescriptionBuilder
impl Send for DiskImageDescriptionBuilder
impl Sync for DiskImageDescriptionBuilder
impl Unpin for DiskImageDescriptionBuilder
impl UnwindSafe for DiskImageDescriptionBuilder
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more