Struct aws_sdk_ec2::model::ReservationValue
source · #[non_exhaustive]pub struct ReservationValue { /* private fields */ }
Expand description
The cost associated with the Reserved Instance.
Implementations§
source§impl ReservationValue
impl ReservationValue
sourcepub fn hourly_price(&self) -> Option<&str>
pub fn hourly_price(&self) -> Option<&str>
The hourly rate of the reservation.
sourcepub fn remaining_total_value(&self) -> Option<&str>
pub fn remaining_total_value(&self) -> Option<&str>
The balance of the total value (the sum of remainingUpfrontValue + hourlyPrice * number of hours remaining).
sourcepub fn remaining_upfront_value(&self) -> Option<&str>
pub fn remaining_upfront_value(&self) -> Option<&str>
The remaining upfront cost of the reservation.
source§impl ReservationValue
impl ReservationValue
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReservationValue
.
Trait Implementations§
source§impl Clone for ReservationValue
impl Clone for ReservationValue
source§fn clone(&self) -> ReservationValue
fn clone(&self) -> ReservationValue
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 ReservationValue
impl Debug for ReservationValue
source§impl PartialEq<ReservationValue> for ReservationValue
impl PartialEq<ReservationValue> for ReservationValue
source§fn eq(&self, other: &ReservationValue) -> bool
fn eq(&self, other: &ReservationValue) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.