#[non_exhaustive]pub struct OpenSearchReservedInstancesConfiguration {
pub account_scope: Option<String>,
pub service: Option<String>,
pub normalized_units_to_purchase: Option<String>,
pub term: Option<String>,
pub payment_option: Option<String>,
pub number_of_instances_to_purchase: Option<String>,
pub instance_type: Option<String>,
pub reserved_instances_region: Option<String>,
pub current_generation: Option<String>,
pub size_flex_eligible: Option<bool>,
pub upfront_cost: Option<String>,
pub monthly_recurring_cost: Option<String>,
}Expand description
The OpenSearch reserved instances configuration used for recommendations.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.account_scope: Option<String>The account scope that you want your recommendations for.
service: Option<String>The service that you want your recommendations for.
normalized_units_to_purchase: Option<String>The number of normalized units that Amazon Web Services recommends that you purchase.
term: Option<String>The reserved instances recommendation term in years.
payment_option: Option<String>The payment option for the commitment.
number_of_instances_to_purchase: Option<String>The number of instances that Amazon Web Services recommends that you purchase.
instance_type: Option<String>The type of instance that Amazon Web Services recommends.
reserved_instances_region: Option<String>The Amazon Web Services Region of the commitment.
current_generation: Option<String>Determines whether the recommendation is for a current generation instance.
size_flex_eligible: Option<bool>Determines whether the recommendation is size flexible.
upfront_cost: Option<String>How much purchasing this instance costs you upfront.
monthly_recurring_cost: Option<String>How much purchasing reserved instances costs you on a monthly basis.
Implementations§
source§impl OpenSearchReservedInstancesConfiguration
impl OpenSearchReservedInstancesConfiguration
sourcepub fn account_scope(&self) -> Option<&str>
pub fn account_scope(&self) -> Option<&str>
The account scope that you want your recommendations for.
sourcepub fn normalized_units_to_purchase(&self) -> Option<&str>
pub fn normalized_units_to_purchase(&self) -> Option<&str>
The number of normalized units that Amazon Web Services recommends that you purchase.
sourcepub fn payment_option(&self) -> Option<&str>
pub fn payment_option(&self) -> Option<&str>
The payment option for the commitment.
sourcepub fn number_of_instances_to_purchase(&self) -> Option<&str>
pub fn number_of_instances_to_purchase(&self) -> Option<&str>
The number of instances that Amazon Web Services recommends that you purchase.
sourcepub fn instance_type(&self) -> Option<&str>
pub fn instance_type(&self) -> Option<&str>
The type of instance that Amazon Web Services recommends.
sourcepub fn reserved_instances_region(&self) -> Option<&str>
pub fn reserved_instances_region(&self) -> Option<&str>
The Amazon Web Services Region of the commitment.
sourcepub fn current_generation(&self) -> Option<&str>
pub fn current_generation(&self) -> Option<&str>
Determines whether the recommendation is for a current generation instance.
sourcepub fn size_flex_eligible(&self) -> Option<bool>
pub fn size_flex_eligible(&self) -> Option<bool>
Determines whether the recommendation is size flexible.
sourcepub fn upfront_cost(&self) -> Option<&str>
pub fn upfront_cost(&self) -> Option<&str>
How much purchasing this instance costs you upfront.
sourcepub fn monthly_recurring_cost(&self) -> Option<&str>
pub fn monthly_recurring_cost(&self) -> Option<&str>
How much purchasing reserved instances costs you on a monthly basis.
source§impl OpenSearchReservedInstancesConfiguration
impl OpenSearchReservedInstancesConfiguration
sourcepub fn builder() -> OpenSearchReservedInstancesConfigurationBuilder
pub fn builder() -> OpenSearchReservedInstancesConfigurationBuilder
Creates a new builder-style object to manufacture OpenSearchReservedInstancesConfiguration.
Trait Implementations§
source§impl Clone for OpenSearchReservedInstancesConfiguration
impl Clone for OpenSearchReservedInstancesConfiguration
source§fn clone(&self) -> OpenSearchReservedInstancesConfiguration
fn clone(&self) -> OpenSearchReservedInstancesConfiguration
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl PartialEq for OpenSearchReservedInstancesConfiguration
impl PartialEq for OpenSearchReservedInstancesConfiguration
source§fn eq(&self, other: &OpenSearchReservedInstancesConfiguration) -> bool
fn eq(&self, other: &OpenSearchReservedInstancesConfiguration) -> bool
self and other values to be equal, and is used
by ==.