#[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 get_amount(&self) -> &Option<f64>
pub fn get_amount(&self) -> &Option<f64>
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 get_currency_code(&self) -> &Option<CurrencyCodeValues>
pub fn get_currency_code(&self) -> &Option<CurrencyCodeValues>
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
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ReservedInstanceLimitPriceBuilder
impl Default for ReservedInstanceLimitPriceBuilder
source§fn default() -> ReservedInstanceLimitPriceBuilder
fn default() -> ReservedInstanceLimitPriceBuilder
source§impl PartialEq for ReservedInstanceLimitPriceBuilder
impl PartialEq for ReservedInstanceLimitPriceBuilder
source§fn eq(&self, other: &ReservedInstanceLimitPriceBuilder) -> bool
fn eq(&self, other: &ReservedInstanceLimitPriceBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ReservedInstanceLimitPriceBuilder
Auto Trait Implementations§
impl Freeze for ReservedInstanceLimitPriceBuilder
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
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