#[non_exhaustive]pub struct LicenseRecommendationOption {
pub rank: i32,
pub operating_system: Option<String>,
pub license_edition: Option<LicenseEdition>,
pub license_model: Option<LicenseModel>,
pub savings_opportunity: Option<SavingsOpportunity>,
}
Expand description
Describes the recommendation options for licenses.
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.rank: i32
The rank of the license recommendation option.
The top recommendation option is ranked as 1
.
operating_system: Option<String>
The operating system of a license recommendation option.
license_edition: Option<LicenseEdition>
The recommended edition of the license for the application that runs on the instance.
license_model: Option<LicenseModel>
The recommended license type associated with the instance.
savings_opportunity: Option<SavingsOpportunity>
Describes the savings opportunity for recommendations of a given resource type or for the recommendation option of an individual resource.
Savings opportunity represents the estimated monthly savings you can achieve by implementing a given Compute Optimizer recommendation.
Savings opportunity data requires that you opt in to Cost Explorer, as well as activate Receive Amazon EC2 resource recommendations in the Cost Explorer preferences page. That creates a connection between Cost Explorer and Compute Optimizer. With this connection, Cost Explorer generates savings estimates considering the price of existing resources, the price of recommended resources, and historical usage data. Estimated monthly savings reflects the projected dollar savings associated with each of the recommendations generated. For more information, see Enabling Cost Explorer and Optimizing your cost with Rightsizing Recommendations in the Cost Management User Guide.
Implementations§
source§impl LicenseRecommendationOption
impl LicenseRecommendationOption
sourcepub fn rank(&self) -> i32
pub fn rank(&self) -> i32
The rank of the license recommendation option.
The top recommendation option is ranked as 1
.
sourcepub fn operating_system(&self) -> Option<&str>
pub fn operating_system(&self) -> Option<&str>
The operating system of a license recommendation option.
sourcepub fn license_edition(&self) -> Option<&LicenseEdition>
pub fn license_edition(&self) -> Option<&LicenseEdition>
The recommended edition of the license for the application that runs on the instance.
sourcepub fn license_model(&self) -> Option<&LicenseModel>
pub fn license_model(&self) -> Option<&LicenseModel>
The recommended license type associated with the instance.
sourcepub fn savings_opportunity(&self) -> Option<&SavingsOpportunity>
pub fn savings_opportunity(&self) -> Option<&SavingsOpportunity>
Describes the savings opportunity for recommendations of a given resource type or for the recommendation option of an individual resource.
Savings opportunity represents the estimated monthly savings you can achieve by implementing a given Compute Optimizer recommendation.
Savings opportunity data requires that you opt in to Cost Explorer, as well as activate Receive Amazon EC2 resource recommendations in the Cost Explorer preferences page. That creates a connection between Cost Explorer and Compute Optimizer. With this connection, Cost Explorer generates savings estimates considering the price of existing resources, the price of recommended resources, and historical usage data. Estimated monthly savings reflects the projected dollar savings associated with each of the recommendations generated. For more information, see Enabling Cost Explorer and Optimizing your cost with Rightsizing Recommendations in the Cost Management User Guide.
source§impl LicenseRecommendationOption
impl LicenseRecommendationOption
sourcepub fn builder() -> LicenseRecommendationOptionBuilder
pub fn builder() -> LicenseRecommendationOptionBuilder
Creates a new builder-style object to manufacture LicenseRecommendationOption
.
Trait Implementations§
source§impl Clone for LicenseRecommendationOption
impl Clone for LicenseRecommendationOption
source§fn clone(&self) -> LicenseRecommendationOption
fn clone(&self) -> LicenseRecommendationOption
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for LicenseRecommendationOption
impl Debug for LicenseRecommendationOption
source§impl PartialEq for LicenseRecommendationOption
impl PartialEq for LicenseRecommendationOption
source§fn eq(&self, other: &LicenseRecommendationOption) -> bool
fn eq(&self, other: &LicenseRecommendationOption) -> bool
self
and other
values to be equal, and is used
by ==
.