Struct aws_sdk_ec2::types::builders::PricingDetailBuilder
source · #[non_exhaustive]pub struct PricingDetailBuilder { /* private fields */ }
Expand description
A builder for PricingDetail
.
Implementations§
source§impl PricingDetailBuilder
impl PricingDetailBuilder
sourcepub fn set_count(self, input: Option<i32>) -> Self
pub fn set_count(self, input: Option<i32>) -> Self
The number of reservations available for the price.
sourcepub fn build(self) -> PricingDetail
pub fn build(self) -> PricingDetail
Consumes the builder and constructs a PricingDetail
.
Trait Implementations§
source§impl Clone for PricingDetailBuilder
impl Clone for PricingDetailBuilder
source§fn clone(&self) -> PricingDetailBuilder
fn clone(&self) -> PricingDetailBuilder
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 PricingDetailBuilder
impl Debug for PricingDetailBuilder
source§impl Default for PricingDetailBuilder
impl Default for PricingDetailBuilder
source§fn default() -> PricingDetailBuilder
fn default() -> PricingDetailBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for PricingDetailBuilder
impl PartialEq for PricingDetailBuilder
source§fn eq(&self, other: &PricingDetailBuilder) -> bool
fn eq(&self, other: &PricingDetailBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PricingDetailBuilder
Auto Trait Implementations§
impl RefUnwindSafe for PricingDetailBuilder
impl Send for PricingDetailBuilder
impl Sync for PricingDetailBuilder
impl Unpin for PricingDetailBuilder
impl UnwindSafe for PricingDetailBuilder
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>
Creates a shared type from an unshared type.