Struct aws_sdk_ec2::types::builders::DiskImageBuilder
source · #[non_exhaustive]pub struct DiskImageBuilder { /* private fields */ }
Expand description
A builder for DiskImage
.
Implementations§
source§impl DiskImageBuilder
impl DiskImageBuilder
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the disk image.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the disk image.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the disk image.
sourcepub fn image(self, input: DiskImageDetail) -> Self
pub fn image(self, input: DiskImageDetail) -> Self
Information about the disk image.
sourcepub fn set_image(self, input: Option<DiskImageDetail>) -> Self
pub fn set_image(self, input: Option<DiskImageDetail>) -> Self
Information about the disk image.
sourcepub fn get_image(&self) -> &Option<DiskImageDetail>
pub fn get_image(&self) -> &Option<DiskImageDetail>
Information about the disk image.
sourcepub fn volume(self, input: VolumeDetail) -> Self
pub fn volume(self, input: VolumeDetail) -> Self
Information about the volume.
sourcepub fn set_volume(self, input: Option<VolumeDetail>) -> Self
pub fn set_volume(self, input: Option<VolumeDetail>) -> Self
Information about the volume.
sourcepub fn get_volume(&self) -> &Option<VolumeDetail>
pub fn get_volume(&self) -> &Option<VolumeDetail>
Information about the volume.
Trait Implementations§
source§impl Clone for DiskImageBuilder
impl Clone for DiskImageBuilder
source§fn clone(&self) -> DiskImageBuilder
fn clone(&self) -> DiskImageBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DiskImageBuilder
impl Debug for DiskImageBuilder
source§impl Default for DiskImageBuilder
impl Default for DiskImageBuilder
source§fn default() -> DiskImageBuilder
fn default() -> DiskImageBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DiskImageBuilder
impl PartialEq for DiskImageBuilder
source§fn eq(&self, other: &DiskImageBuilder) -> bool
fn eq(&self, other: &DiskImageBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DiskImageBuilder
Auto Trait Implementations§
impl Freeze for DiskImageBuilder
impl RefUnwindSafe for DiskImageBuilder
impl Send for DiskImageBuilder
impl Sync for DiskImageBuilder
impl Unpin for DiskImageBuilder
impl UnwindSafe for DiskImageBuilder
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
Mutably borrows from an owned value. Read more
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.