pub struct Builder { /* private fields */ }
Expand description
A builder for EbsInstanceBlockDeviceSpecification
.
Implementations§
source§impl Builder
impl Builder
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 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 build(self) -> EbsInstanceBlockDeviceSpecification
pub fn build(self) -> EbsInstanceBlockDeviceSpecification
Consumes the builder and constructs a EbsInstanceBlockDeviceSpecification
.