Struct aws_sdk_ec2::model::PriceSchedule
source · [−]#[non_exhaustive]pub struct PriceSchedule { /* private fields */ }
Expand description
Describes the price for a Reserved Instance.
Implementations
sourceimpl PriceSchedule
impl PriceSchedule
sourcepub fn active(&self) -> Option<bool>
pub fn active(&self) -> Option<bool>
The current price schedule, as determined by the term remaining for the Reserved Instance in the listing.
A specific price schedule is always in effect, but only one price schedule can be active at any time. Take, for example, a Reserved Instance listing that has five months remaining in its term. When you specify price schedules for five months and two months, this means that schedule 1, covering the first three months of the remaining term, will be active during months 5, 4, and 3. Then schedule 2, covering the last two months of the term, will be active for months 2 and 1.
sourcepub fn currency_code(&self) -> Option<&CurrencyCodeValues>
pub fn currency_code(&self) -> Option<&CurrencyCodeValues>
The currency for transacting the Reserved Instance resale. At this time, the only supported currency is USD
.
sourceimpl PriceSchedule
impl PriceSchedule
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture PriceSchedule
.
Trait Implementations
sourceimpl Clone for PriceSchedule
impl Clone for PriceSchedule
sourcefn clone(&self) -> PriceSchedule
fn clone(&self) -> PriceSchedule
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more