#[non_exhaustive]pub struct ReservedElasticsearchInstanceOffering { /* private fields */ }
Expand description
Details of a reserved Elasticsearch instance offering.
Implementations§
source§impl ReservedElasticsearchInstanceOffering
impl ReservedElasticsearchInstanceOffering
sourcepub fn reserved_elasticsearch_instance_offering_id(&self) -> Option<&str>
pub fn reserved_elasticsearch_instance_offering_id(&self) -> Option<&str>
The Elasticsearch reserved instance offering identifier.
sourcepub fn elasticsearch_instance_type(&self) -> Option<&EsPartitionInstanceType>
pub fn elasticsearch_instance_type(&self) -> Option<&EsPartitionInstanceType>
The Elasticsearch instance type offered by the reserved instance offering.
sourcepub fn duration(&self) -> i32
pub fn duration(&self) -> i32
The duration, in seconds, for which the offering will reserve the Elasticsearch instance.
sourcepub fn fixed_price(&self) -> Option<f64>
pub fn fixed_price(&self) -> Option<f64>
The upfront fixed charge you will pay to purchase the specific reserved Elasticsearch instance offering.
sourcepub fn usage_price(&self) -> Option<f64>
pub fn usage_price(&self) -> Option<f64>
The rate you are charged for each hour the domain that is using the offering is running.
sourcepub fn currency_code(&self) -> Option<&str>
pub fn currency_code(&self) -> Option<&str>
The currency code for the reserved Elasticsearch instance offering.
sourcepub fn payment_option(
&self
) -> Option<&ReservedElasticsearchInstancePaymentOption>
pub fn payment_option( &self ) -> Option<&ReservedElasticsearchInstancePaymentOption>
Payment option for the reserved Elasticsearch instance offering
sourcepub fn recurring_charges(&self) -> Option<&[RecurringCharge]>
pub fn recurring_charges(&self) -> Option<&[RecurringCharge]>
The charge to your account regardless of whether you are creating any domains using the instance offering.
source§impl ReservedElasticsearchInstanceOffering
impl ReservedElasticsearchInstanceOffering
sourcepub fn builder() -> ReservedElasticsearchInstanceOfferingBuilder
pub fn builder() -> ReservedElasticsearchInstanceOfferingBuilder
Creates a new builder-style object to manufacture ReservedElasticsearchInstanceOffering
.
Trait Implementations§
source§impl Clone for ReservedElasticsearchInstanceOffering
impl Clone for ReservedElasticsearchInstanceOffering
source§fn clone(&self) -> ReservedElasticsearchInstanceOffering
fn clone(&self) -> ReservedElasticsearchInstanceOffering
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl PartialEq<ReservedElasticsearchInstanceOffering> for ReservedElasticsearchInstanceOffering
impl PartialEq<ReservedElasticsearchInstanceOffering> for ReservedElasticsearchInstanceOffering
source§fn eq(&self, other: &ReservedElasticsearchInstanceOffering) -> bool
fn eq(&self, other: &ReservedElasticsearchInstanceOffering) -> bool
self
and other
values to be equal, and is used
by ==
.