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<DiskImageBuilder> for DiskImageBuilder
impl PartialEq<DiskImageBuilder> 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 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