Struct aws_sdk_ec2::model::LaunchTemplateEbsBlockDevice
source · [−]#[non_exhaustive]pub struct LaunchTemplateEbsBlockDevice { /* private fields */ }
Expand description
Describes a block device for an EBS volume.
Implementations
sourceimpl 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.
sourceimpl LaunchTemplateEbsBlockDevice
impl LaunchTemplateEbsBlockDevice
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture LaunchTemplateEbsBlockDevice
.
Trait Implementations
sourceimpl Clone for LaunchTemplateEbsBlockDevice
impl Clone for LaunchTemplateEbsBlockDevice
sourcefn clone(&self) -> LaunchTemplateEbsBlockDevice
fn clone(&self) -> LaunchTemplateEbsBlockDevice
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for LaunchTemplateEbsBlockDevice
impl Debug for LaunchTemplateEbsBlockDevice
sourceimpl PartialEq<LaunchTemplateEbsBlockDevice> for LaunchTemplateEbsBlockDevice
impl PartialEq<LaunchTemplateEbsBlockDevice> for LaunchTemplateEbsBlockDevice
sourcefn eq(&self, other: &LaunchTemplateEbsBlockDevice) -> bool
fn eq(&self, other: &LaunchTemplateEbsBlockDevice) -> bool
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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more