Struct aws_sdk_ec2::types::builders::EbsOptimizedInfoBuilder
source · #[non_exhaustive]pub struct EbsOptimizedInfoBuilder { /* private fields */ }
Expand description
A builder for EbsOptimizedInfo
.
Implementations§
source§impl EbsOptimizedInfoBuilder
impl EbsOptimizedInfoBuilder
sourcepub fn baseline_bandwidth_in_mbps(self, input: i32) -> Self
pub fn baseline_bandwidth_in_mbps(self, input: i32) -> Self
The baseline bandwidth performance for an EBS-optimized instance type, in Mbps.
sourcepub fn set_baseline_bandwidth_in_mbps(self, input: Option<i32>) -> Self
pub fn set_baseline_bandwidth_in_mbps(self, input: Option<i32>) -> Self
The baseline bandwidth performance for an EBS-optimized instance type, in Mbps.
sourcepub fn get_baseline_bandwidth_in_mbps(&self) -> &Option<i32>
pub fn get_baseline_bandwidth_in_mbps(&self) -> &Option<i32>
The baseline bandwidth performance for an EBS-optimized instance type, in Mbps.
sourcepub fn baseline_throughput_in_m_bps(self, input: f64) -> Self
pub fn baseline_throughput_in_m_bps(self, input: f64) -> Self
The baseline throughput performance for an EBS-optimized instance type, in MB/s.
sourcepub fn set_baseline_throughput_in_m_bps(self, input: Option<f64>) -> Self
pub fn set_baseline_throughput_in_m_bps(self, input: Option<f64>) -> Self
The baseline throughput performance for an EBS-optimized instance type, in MB/s.
sourcepub fn get_baseline_throughput_in_m_bps(&self) -> &Option<f64>
pub fn get_baseline_throughput_in_m_bps(&self) -> &Option<f64>
The baseline throughput performance for an EBS-optimized instance type, in MB/s.
sourcepub fn baseline_iops(self, input: i32) -> Self
pub fn baseline_iops(self, input: i32) -> Self
The baseline input/output storage operations per seconds for an EBS-optimized instance type.
sourcepub fn set_baseline_iops(self, input: Option<i32>) -> Self
pub fn set_baseline_iops(self, input: Option<i32>) -> Self
The baseline input/output storage operations per seconds for an EBS-optimized instance type.
sourcepub fn get_baseline_iops(&self) -> &Option<i32>
pub fn get_baseline_iops(&self) -> &Option<i32>
The baseline input/output storage operations per seconds for an EBS-optimized instance type.
sourcepub fn maximum_bandwidth_in_mbps(self, input: i32) -> Self
pub fn maximum_bandwidth_in_mbps(self, input: i32) -> Self
The maximum bandwidth performance for an EBS-optimized instance type, in Mbps.
sourcepub fn set_maximum_bandwidth_in_mbps(self, input: Option<i32>) -> Self
pub fn set_maximum_bandwidth_in_mbps(self, input: Option<i32>) -> Self
The maximum bandwidth performance for an EBS-optimized instance type, in Mbps.
sourcepub fn get_maximum_bandwidth_in_mbps(&self) -> &Option<i32>
pub fn get_maximum_bandwidth_in_mbps(&self) -> &Option<i32>
The maximum bandwidth performance for an EBS-optimized instance type, in Mbps.
sourcepub fn maximum_throughput_in_m_bps(self, input: f64) -> Self
pub fn maximum_throughput_in_m_bps(self, input: f64) -> Self
The maximum throughput performance for an EBS-optimized instance type, in MB/s.
sourcepub fn set_maximum_throughput_in_m_bps(self, input: Option<f64>) -> Self
pub fn set_maximum_throughput_in_m_bps(self, input: Option<f64>) -> Self
The maximum throughput performance for an EBS-optimized instance type, in MB/s.
sourcepub fn get_maximum_throughput_in_m_bps(&self) -> &Option<f64>
pub fn get_maximum_throughput_in_m_bps(&self) -> &Option<f64>
The maximum throughput performance for an EBS-optimized instance type, in MB/s.
sourcepub fn maximum_iops(self, input: i32) -> Self
pub fn maximum_iops(self, input: i32) -> Self
The maximum input/output storage operations per second for an EBS-optimized instance type.
sourcepub fn set_maximum_iops(self, input: Option<i32>) -> Self
pub fn set_maximum_iops(self, input: Option<i32>) -> Self
The maximum input/output storage operations per second for an EBS-optimized instance type.
sourcepub fn get_maximum_iops(&self) -> &Option<i32>
pub fn get_maximum_iops(&self) -> &Option<i32>
The maximum input/output storage operations per second for an EBS-optimized instance type.
sourcepub fn build(self) -> EbsOptimizedInfo
pub fn build(self) -> EbsOptimizedInfo
Consumes the builder and constructs a EbsOptimizedInfo
.
Trait Implementations§
source§impl Clone for EbsOptimizedInfoBuilder
impl Clone for EbsOptimizedInfoBuilder
source§fn clone(&self) -> EbsOptimizedInfoBuilder
fn clone(&self) -> EbsOptimizedInfoBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for EbsOptimizedInfoBuilder
impl Debug for EbsOptimizedInfoBuilder
source§impl Default for EbsOptimizedInfoBuilder
impl Default for EbsOptimizedInfoBuilder
source§fn default() -> EbsOptimizedInfoBuilder
fn default() -> EbsOptimizedInfoBuilder
source§impl PartialEq for EbsOptimizedInfoBuilder
impl PartialEq for EbsOptimizedInfoBuilder
source§fn eq(&self, other: &EbsOptimizedInfoBuilder) -> bool
fn eq(&self, other: &EbsOptimizedInfoBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for EbsOptimizedInfoBuilder
Auto Trait Implementations§
impl Freeze for EbsOptimizedInfoBuilder
impl RefUnwindSafe for EbsOptimizedInfoBuilder
impl Send for EbsOptimizedInfoBuilder
impl Sync for EbsOptimizedInfoBuilder
impl Unpin for EbsOptimizedInfoBuilder
impl UnwindSafe for EbsOptimizedInfoBuilder
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
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>
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>
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 more