#[non_exhaustive]pub struct EbsInstanceBlockDeviceSpecificationBuilder { /* private fields */ }Expand description
A builder for EbsInstanceBlockDeviceSpecification.
Implementations§
source§impl EbsInstanceBlockDeviceSpecificationBuilder
 
impl EbsInstanceBlockDeviceSpecificationBuilder
sourcepub fn delete_on_termination(self, input: bool) -> Self
 
pub fn delete_on_termination(self, input: bool) -> Self
Indicates whether the volume is deleted on instance termination.
sourcepub fn set_delete_on_termination(self, input: Option<bool>) -> Self
 
pub fn set_delete_on_termination(self, input: Option<bool>) -> Self
Indicates whether the volume is deleted on instance termination.
sourcepub fn get_delete_on_termination(&self) -> &Option<bool>
 
pub fn get_delete_on_termination(&self) -> &Option<bool>
Indicates whether the volume is deleted on instance termination.
sourcepub fn set_volume_id(self, input: Option<String>) -> Self
 
pub fn set_volume_id(self, input: Option<String>) -> Self
The ID of the EBS volume.
sourcepub fn get_volume_id(&self) -> &Option<String>
 
pub fn get_volume_id(&self) -> &Option<String>
The ID of the EBS volume.
sourcepub fn build(self) -> EbsInstanceBlockDeviceSpecification
 
pub fn build(self) -> EbsInstanceBlockDeviceSpecification
Consumes the builder and constructs a EbsInstanceBlockDeviceSpecification.
Trait Implementations§
source§impl Clone for EbsInstanceBlockDeviceSpecificationBuilder
 
impl Clone for EbsInstanceBlockDeviceSpecificationBuilder
source§fn clone(&self) -> EbsInstanceBlockDeviceSpecificationBuilder
 
fn clone(&self) -> EbsInstanceBlockDeviceSpecificationBuilder
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 Default for EbsInstanceBlockDeviceSpecificationBuilder
 
impl Default for EbsInstanceBlockDeviceSpecificationBuilder
source§fn default() -> EbsInstanceBlockDeviceSpecificationBuilder
 
fn default() -> EbsInstanceBlockDeviceSpecificationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for EbsInstanceBlockDeviceSpecificationBuilder
 
impl PartialEq for EbsInstanceBlockDeviceSpecificationBuilder
source§fn eq(&self, other: &EbsInstanceBlockDeviceSpecificationBuilder) -> bool
 
fn eq(&self, other: &EbsInstanceBlockDeviceSpecificationBuilder) -> bool
This method tests for 
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for EbsInstanceBlockDeviceSpecificationBuilder
Auto Trait Implementations§
impl Freeze for EbsInstanceBlockDeviceSpecificationBuilder
impl RefUnwindSafe for EbsInstanceBlockDeviceSpecificationBuilder
impl Send for EbsInstanceBlockDeviceSpecificationBuilder
impl Sync for EbsInstanceBlockDeviceSpecificationBuilder
impl Unpin for EbsInstanceBlockDeviceSpecificationBuilder
impl UnwindSafe for EbsInstanceBlockDeviceSpecificationBuilder
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> CloneToUninit for Twhere
    T: Clone,
 
impl<T> CloneToUninit for Twhere
    T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
 
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)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.