Struct aws_sdk_lightsail::types::builders::DiskMapBuilder
source · #[non_exhaustive]pub struct DiskMapBuilder { /* private fields */ }
Expand description
A builder for DiskMap
.
Implementations§
source§impl DiskMapBuilder
impl DiskMapBuilder
sourcepub fn original_disk_path(self, input: impl Into<String>) -> Self
pub fn original_disk_path(self, input: impl Into<String>) -> Self
The original disk path exposed to the instance (for example, /dev/sdh
).
sourcepub fn set_original_disk_path(self, input: Option<String>) -> Self
pub fn set_original_disk_path(self, input: Option<String>) -> Self
The original disk path exposed to the instance (for example, /dev/sdh
).
sourcepub fn get_original_disk_path(&self) -> &Option<String>
pub fn get_original_disk_path(&self) -> &Option<String>
The original disk path exposed to the instance (for example, /dev/sdh
).
sourcepub fn new_disk_name(self, input: impl Into<String>) -> Self
pub fn new_disk_name(self, input: impl Into<String>) -> Self
The new disk name (my-new-disk
).
sourcepub fn set_new_disk_name(self, input: Option<String>) -> Self
pub fn set_new_disk_name(self, input: Option<String>) -> Self
The new disk name (my-new-disk
).
sourcepub fn get_new_disk_name(&self) -> &Option<String>
pub fn get_new_disk_name(&self) -> &Option<String>
The new disk name (my-new-disk
).
Trait Implementations§
source§impl Clone for DiskMapBuilder
impl Clone for DiskMapBuilder
source§fn clone(&self) -> DiskMapBuilder
fn clone(&self) -> DiskMapBuilder
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 DiskMapBuilder
impl Debug for DiskMapBuilder
source§impl Default for DiskMapBuilder
impl Default for DiskMapBuilder
source§fn default() -> DiskMapBuilder
fn default() -> DiskMapBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DiskMapBuilder
impl PartialEq for DiskMapBuilder
source§fn eq(&self, other: &DiskMapBuilder) -> bool
fn eq(&self, other: &DiskMapBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DiskMapBuilder
Auto Trait Implementations§
impl Freeze for DiskMapBuilder
impl RefUnwindSafe for DiskMapBuilder
impl Send for DiskMapBuilder
impl Sync for DiskMapBuilder
impl Unpin for DiskMapBuilder
impl UnwindSafe for DiskMapBuilder
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.