Struct aws_sdk_ec2::types::builders::DiskInfoBuilder
source · #[non_exhaustive]pub struct DiskInfoBuilder { /* private fields */ }
Expand description
A builder for DiskInfo
.
Implementations§
source§impl DiskInfoBuilder
impl DiskInfoBuilder
sourcepub fn size_in_gb(self, input: i64) -> Self
pub fn size_in_gb(self, input: i64) -> Self
The size of the disk in GB.
sourcepub fn set_size_in_gb(self, input: Option<i64>) -> Self
pub fn set_size_in_gb(self, input: Option<i64>) -> Self
The size of the disk in GB.
sourcepub fn get_size_in_gb(&self) -> &Option<i64>
pub fn get_size_in_gb(&self) -> &Option<i64>
The size of the disk in GB.
Trait Implementations§
source§impl Clone for DiskInfoBuilder
impl Clone for DiskInfoBuilder
source§fn clone(&self) -> DiskInfoBuilder
fn clone(&self) -> DiskInfoBuilder
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 DiskInfoBuilder
impl Debug for DiskInfoBuilder
source§impl Default for DiskInfoBuilder
impl Default for DiskInfoBuilder
source§fn default() -> DiskInfoBuilder
fn default() -> DiskInfoBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<DiskInfoBuilder> for DiskInfoBuilder
impl PartialEq<DiskInfoBuilder> for DiskInfoBuilder
source§fn eq(&self, other: &DiskInfoBuilder) -> bool
fn eq(&self, other: &DiskInfoBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DiskInfoBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DiskInfoBuilder
impl Send for DiskInfoBuilder
impl Sync for DiskInfoBuilder
impl Unpin for DiskInfoBuilder
impl UnwindSafe for DiskInfoBuilder
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