#[non_exhaustive]pub struct ReservedElasticsearchInstance { /* private fields */ }
Expand description
Details of a reserved Elasticsearch instance.
Implementations
sourceimpl ReservedElasticsearchInstance
impl ReservedElasticsearchInstance
sourcepub fn reservation_name(&self) -> Option<&str>
pub fn reservation_name(&self) -> Option<&str>
The customer-specified identifier to track this reservation.
sourcepub fn reserved_elasticsearch_instance_id(&self) -> Option<&str>
pub fn reserved_elasticsearch_instance_id(&self) -> Option<&str>
The unique identifier for the reservation.
sourcepub fn reserved_elasticsearch_instance_offering_id(&self) -> Option<&str>
pub fn reserved_elasticsearch_instance_offering_id(&self) -> Option<&str>
The 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 start_time(&self) -> Option<&DateTime>
pub fn start_time(&self) -> Option<&DateTime>
The time the reservation started.
sourcepub fn duration(&self) -> i32
pub fn duration(&self) -> i32
The duration, in seconds, for which the Elasticsearch instance is reserved.
sourcepub fn fixed_price(&self) -> Option<f64>
pub fn fixed_price(&self) -> Option<f64>
The upfront fixed charge you will paid 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 for the domain that is using this reserved instance.
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 elasticsearch_instance_count(&self) -> i32
pub fn elasticsearch_instance_count(&self) -> i32
The number of Elasticsearch instances that have been reserved.
sourcepub fn payment_option(
&self
) -> Option<&ReservedElasticsearchInstancePaymentOption>
pub fn payment_option(
&self
) -> Option<&ReservedElasticsearchInstancePaymentOption>
The payment option as defined in 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.
sourceimpl ReservedElasticsearchInstance
impl ReservedElasticsearchInstance
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReservedElasticsearchInstance
.
Trait Implementations
sourceimpl Clone for ReservedElasticsearchInstance
impl Clone for ReservedElasticsearchInstance
sourcefn clone(&self) -> ReservedElasticsearchInstance
fn clone(&self) -> ReservedElasticsearchInstance
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more