Struct aws_sdk_ec2::model::HostOffering
source · #[non_exhaustive]pub struct HostOffering { /* private fields */ }
Expand description
Details about the Dedicated Host Reservation offering.
Implementations§
source§impl HostOffering
impl HostOffering
sourcepub fn currency_code(&self) -> Option<&CurrencyCodeValues>
pub fn currency_code(&self) -> Option<&CurrencyCodeValues>
The currency of the offering.
sourcepub fn hourly_price(&self) -> Option<&str>
pub fn hourly_price(&self) -> Option<&str>
The hourly price of the offering.
sourcepub fn instance_family(&self) -> Option<&str>
pub fn instance_family(&self) -> Option<&str>
The instance family of the offering.
sourcepub fn offering_id(&self) -> Option<&str>
pub fn offering_id(&self) -> Option<&str>
The ID of the offering.
sourcepub fn payment_option(&self) -> Option<&PaymentOption>
pub fn payment_option(&self) -> Option<&PaymentOption>
The available payment option.
sourcepub fn upfront_price(&self) -> Option<&str>
pub fn upfront_price(&self) -> Option<&str>
The upfront price of the offering. Does not apply to No Upfront offerings.
source§impl HostOffering
impl HostOffering
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture HostOffering
.
Trait Implementations§
source§impl Clone for HostOffering
impl Clone for HostOffering
source§fn clone(&self) -> HostOffering
fn clone(&self) -> HostOffering
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 HostOffering
impl Debug for HostOffering
source§impl PartialEq<HostOffering> for HostOffering
impl PartialEq<HostOffering> for HostOffering
source§fn eq(&self, other: &HostOffering) -> bool
fn eq(&self, other: &HostOffering) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.