Struct aws_sdk_ec2::types::LaunchTemplateEbsBlockDevice
source · #[non_exhaustive]pub struct LaunchTemplateEbsBlockDevice { /* private fields */ }
Expand description
Describes a block device for an EBS volume.
Implementations§
source§impl LaunchTemplateEbsBlockDevice
impl LaunchTemplateEbsBlockDevice
sourcepub fn delete_on_termination(&self) -> Option<bool>
pub fn delete_on_termination(&self) -> Option<bool>
Indicates whether the EBS volume is deleted on instance termination.
sourcepub fn iops(&self) -> Option<i32>
pub fn iops(&self) -> Option<i32>
The number of I/O operations per second (IOPS) that the volume supports.
sourcepub fn kms_key_id(&self) -> Option<&str>
pub fn kms_key_id(&self) -> Option<&str>
The ARN of the Key Management Service (KMS) CMK used for encryption.
sourcepub fn snapshot_id(&self) -> Option<&str>
pub fn snapshot_id(&self) -> Option<&str>
The ID of the snapshot.
sourcepub fn volume_size(&self) -> Option<i32>
pub fn volume_size(&self) -> Option<i32>
The size of the volume, in GiB.
sourcepub fn volume_type(&self) -> Option<&VolumeType>
pub fn volume_type(&self) -> Option<&VolumeType>
The volume type.
sourcepub fn throughput(&self) -> Option<i32>
pub fn throughput(&self) -> Option<i32>
The throughput that the volume supports, in MiB/s.
source§impl LaunchTemplateEbsBlockDevice
impl LaunchTemplateEbsBlockDevice
sourcepub fn builder() -> LaunchTemplateEbsBlockDeviceBuilder
pub fn builder() -> LaunchTemplateEbsBlockDeviceBuilder
Creates a new builder-style object to manufacture LaunchTemplateEbsBlockDevice
.
Trait Implementations§
source§impl Clone for LaunchTemplateEbsBlockDevice
impl Clone for LaunchTemplateEbsBlockDevice
source§fn clone(&self) -> LaunchTemplateEbsBlockDevice
fn clone(&self) -> LaunchTemplateEbsBlockDevice
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 Debug for LaunchTemplateEbsBlockDevice
impl Debug for LaunchTemplateEbsBlockDevice
source§impl PartialEq<LaunchTemplateEbsBlockDevice> for LaunchTemplateEbsBlockDevice
impl PartialEq<LaunchTemplateEbsBlockDevice> for LaunchTemplateEbsBlockDevice
source§fn eq(&self, other: &LaunchTemplateEbsBlockDevice) -> bool
fn eq(&self, other: &LaunchTemplateEbsBlockDevice) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for LaunchTemplateEbsBlockDevice
Auto Trait Implementations§
impl RefUnwindSafe for LaunchTemplateEbsBlockDevice
impl Send for LaunchTemplateEbsBlockDevice
impl Sync for LaunchTemplateEbsBlockDevice
impl Unpin for LaunchTemplateEbsBlockDevice
impl UnwindSafe for LaunchTemplateEbsBlockDevice
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