#[non_exhaustive]pub struct ReservedInstanceLimitPriceBuilder { /* private fields */ }
Expand description
A builder for ReservedInstanceLimitPrice
.
Implementations§
source§impl ReservedInstanceLimitPriceBuilder
impl ReservedInstanceLimitPriceBuilder
sourcepub fn amount(self, input: f64) -> Self
pub fn amount(self, input: f64) -> Self
Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).
sourcepub fn set_amount(self, input: Option<f64>) -> Self
pub fn set_amount(self, input: Option<f64>) -> Self
Used for Reserved Instance Marketplace offerings. Specifies the limit price on the total order (instanceCount * price).
sourcepub fn currency_code(self, input: CurrencyCodeValues) -> Self
pub fn currency_code(self, input: CurrencyCodeValues) -> Self
The currency in which the limitPrice
amount is specified. At this time, the only supported currency is USD
.
sourcepub fn set_currency_code(self, input: Option<CurrencyCodeValues>) -> Self
pub fn set_currency_code(self, input: Option<CurrencyCodeValues>) -> Self
The currency in which the limitPrice
amount is specified. At this time, the only supported currency is USD
.
sourcepub fn build(self) -> ReservedInstanceLimitPrice
pub fn build(self) -> ReservedInstanceLimitPrice
Consumes the builder and constructs a ReservedInstanceLimitPrice
.
Trait Implementations§
source§impl Clone for ReservedInstanceLimitPriceBuilder
impl Clone for ReservedInstanceLimitPriceBuilder
source§fn clone(&self) -> ReservedInstanceLimitPriceBuilder
fn clone(&self) -> ReservedInstanceLimitPriceBuilder
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 Default for ReservedInstanceLimitPriceBuilder
impl Default for ReservedInstanceLimitPriceBuilder
source§fn default() -> ReservedInstanceLimitPriceBuilder
fn default() -> ReservedInstanceLimitPriceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq<ReservedInstanceLimitPriceBuilder> for ReservedInstanceLimitPriceBuilder
impl PartialEq<ReservedInstanceLimitPriceBuilder> for ReservedInstanceLimitPriceBuilder
source§fn eq(&self, other: &ReservedInstanceLimitPriceBuilder) -> bool
fn eq(&self, other: &ReservedInstanceLimitPriceBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReservedInstanceLimitPriceBuilder
Auto Trait Implementations§
impl RefUnwindSafe for ReservedInstanceLimitPriceBuilder
impl Send for ReservedInstanceLimitPriceBuilder
impl Sync for ReservedInstanceLimitPriceBuilder
impl Unpin for ReservedInstanceLimitPriceBuilder
impl UnwindSafe for ReservedInstanceLimitPriceBuilder
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