Struct aws_sdk_deadline::types::builders::Ec2EbsVolumeBuilder
source · #[non_exhaustive]pub struct Ec2EbsVolumeBuilder { /* private fields */ }Expand description
A builder for Ec2EbsVolume.
Implementations§
source§impl Ec2EbsVolumeBuilder
impl Ec2EbsVolumeBuilder
sourcepub fn set_size_gib(self, input: Option<i32>) -> Self
pub fn set_size_gib(self, input: Option<i32>) -> Self
The EBS volume size in GiB.
sourcepub fn get_size_gib(&self) -> &Option<i32>
pub fn get_size_gib(&self) -> &Option<i32>
The EBS volume size in GiB.
sourcepub fn throughput_mib(self, input: i32) -> Self
pub fn throughput_mib(self, input: i32) -> Self
The throughput per volume in MiB.
sourcepub fn set_throughput_mib(self, input: Option<i32>) -> Self
pub fn set_throughput_mib(self, input: Option<i32>) -> Self
The throughput per volume in MiB.
sourcepub fn get_throughput_mib(&self) -> &Option<i32>
pub fn get_throughput_mib(&self) -> &Option<i32>
The throughput per volume in MiB.
sourcepub fn build(self) -> Ec2EbsVolume
pub fn build(self) -> Ec2EbsVolume
Consumes the builder and constructs a Ec2EbsVolume.
Trait Implementations§
source§impl Clone for Ec2EbsVolumeBuilder
impl Clone for Ec2EbsVolumeBuilder
source§fn clone(&self) -> Ec2EbsVolumeBuilder
fn clone(&self) -> Ec2EbsVolumeBuilder
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 Ec2EbsVolumeBuilder
impl Debug for Ec2EbsVolumeBuilder
source§impl Default for Ec2EbsVolumeBuilder
impl Default for Ec2EbsVolumeBuilder
source§fn default() -> Ec2EbsVolumeBuilder
fn default() -> Ec2EbsVolumeBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for Ec2EbsVolumeBuilder
impl PartialEq for Ec2EbsVolumeBuilder
source§fn eq(&self, other: &Ec2EbsVolumeBuilder) -> bool
fn eq(&self, other: &Ec2EbsVolumeBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for Ec2EbsVolumeBuilder
Auto Trait Implementations§
impl Freeze for Ec2EbsVolumeBuilder
impl RefUnwindSafe for Ec2EbsVolumeBuilder
impl Send for Ec2EbsVolumeBuilder
impl Sync for Ec2EbsVolumeBuilder
impl Unpin for Ec2EbsVolumeBuilder
impl UnwindSafe for Ec2EbsVolumeBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.