#[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<EbsInstanceBlockDeviceSpecificationBuilder> for EbsInstanceBlockDeviceSpecificationBuilder
impl PartialEq<EbsInstanceBlockDeviceSpecificationBuilder> 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 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