#[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 ==
.