Struct aws_sdk_ec2::model::instance_block_device_mapping::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for InstanceBlockDeviceMapping
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn device_name(self, input: impl Into<String>) -> Self
pub fn device_name(self, input: impl Into<String>) -> Self
The device name (for example, /dev/sdh
or xvdh
).
sourcepub fn set_device_name(self, input: Option<String>) -> Self
pub fn set_device_name(self, input: Option<String>) -> Self
The device name (for example, /dev/sdh
or xvdh
).
sourcepub fn ebs(self, input: EbsInstanceBlockDevice) -> Self
pub fn ebs(self, input: EbsInstanceBlockDevice) -> Self
Parameters used to automatically set up EBS volumes when the instance is launched.
sourcepub fn set_ebs(self, input: Option<EbsInstanceBlockDevice>) -> Self
pub fn set_ebs(self, input: Option<EbsInstanceBlockDevice>) -> Self
Parameters used to automatically set up EBS volumes when the instance is launched.
sourcepub fn build(self) -> InstanceBlockDeviceMapping
pub fn build(self) -> InstanceBlockDeviceMapping
Consumes the builder and constructs a InstanceBlockDeviceMapping
.