pub struct Builder { /* private fields */ }
Expand description
A builder for LaunchTemplateEbsBlockDevice
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn set_encrypted(self, input: Option<bool>) -> Self
pub fn set_encrypted(self, input: Option<bool>) -> Self
Indicates whether the EBS volume is encrypted.
sourcepub fn delete_on_termination(self, input: bool) -> Self
pub fn delete_on_termination(self, input: bool) -> Self
Indicates whether the EBS 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 EBS volume is deleted on instance termination.
sourcepub fn iops(self, input: i32) -> Self
pub fn iops(self, input: i32) -> Self
The number of I/O operations per second (IOPS) that the volume supports.
sourcepub fn set_iops(self, input: Option<i32>) -> Self
pub fn set_iops(self, input: Option<i32>) -> Self
The number of I/O operations per second (IOPS) that the volume supports.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The ARN of the Key Management Service (KMS) CMK used for encryption.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The ARN of the Key Management Service (KMS) CMK used for encryption.
sourcepub fn snapshot_id(self, input: impl Into<String>) -> Self
pub fn snapshot_id(self, input: impl Into<String>) -> Self
The ID of the snapshot.
sourcepub fn set_snapshot_id(self, input: Option<String>) -> Self
pub fn set_snapshot_id(self, input: Option<String>) -> Self
The ID of the snapshot.
sourcepub fn volume_size(self, input: i32) -> Self
pub fn volume_size(self, input: i32) -> Self
The size of the volume, in GiB.
sourcepub fn set_volume_size(self, input: Option<i32>) -> Self
pub fn set_volume_size(self, input: Option<i32>) -> Self
The size of the volume, in GiB.
sourcepub fn volume_type(self, input: VolumeType) -> Self
pub fn volume_type(self, input: VolumeType) -> Self
The volume type.
sourcepub fn set_volume_type(self, input: Option<VolumeType>) -> Self
pub fn set_volume_type(self, input: Option<VolumeType>) -> Self
The volume type.
sourcepub fn throughput(self, input: i32) -> Self
pub fn throughput(self, input: i32) -> Self
The throughput that the volume supports, in MiB/s.
sourcepub fn set_throughput(self, input: Option<i32>) -> Self
pub fn set_throughput(self, input: Option<i32>) -> Self
The throughput that the volume supports, in MiB/s.
sourcepub fn build(self) -> LaunchTemplateEbsBlockDevice
pub fn build(self) -> LaunchTemplateEbsBlockDevice
Consumes the builder and constructs a LaunchTemplateEbsBlockDevice
.