#[non_exhaustive]pub struct LicenseRecommendationOptionBuilder { /* private fields */ }
Expand description
A builder for LicenseRecommendationOption
.
Implementations§
source§impl LicenseRecommendationOptionBuilder
impl LicenseRecommendationOptionBuilder
sourcepub fn rank(self, input: i32) -> Self
pub fn rank(self, input: i32) -> Self
The rank of the license recommendation option.
The top recommendation option is ranked as 1
.
sourcepub fn set_rank(self, input: Option<i32>) -> Self
pub fn set_rank(self, input: Option<i32>) -> Self
The rank of the license recommendation option.
The top recommendation option is ranked as 1
.
sourcepub fn get_rank(&self) -> &Option<i32>
pub fn get_rank(&self) -> &Option<i32>
The rank of the license recommendation option.
The top recommendation option is ranked as 1
.
sourcepub fn operating_system(self, input: impl Into<String>) -> Self
pub fn operating_system(self, input: impl Into<String>) -> Self
The operating system of a license recommendation option.
sourcepub fn set_operating_system(self, input: Option<String>) -> Self
pub fn set_operating_system(self, input: Option<String>) -> Self
The operating system of a license recommendation option.
sourcepub fn get_operating_system(&self) -> &Option<String>
pub fn get_operating_system(&self) -> &Option<String>
The operating system of a license recommendation option.
sourcepub fn license_edition(self, input: LicenseEdition) -> Self
pub fn license_edition(self, input: LicenseEdition) -> Self
The recommended edition of the license for the application that runs on the instance.
sourcepub fn set_license_edition(self, input: Option<LicenseEdition>) -> Self
pub fn set_license_edition(self, input: Option<LicenseEdition>) -> Self
The recommended edition of the license for the application that runs on the instance.
sourcepub fn get_license_edition(&self) -> &Option<LicenseEdition>
pub fn get_license_edition(&self) -> &Option<LicenseEdition>
The recommended edition of the license for the application that runs on the instance.
sourcepub fn license_model(self, input: LicenseModel) -> Self
pub fn license_model(self, input: LicenseModel) -> Self
The recommended license type associated with the instance.
sourcepub fn set_license_model(self, input: Option<LicenseModel>) -> Self
pub fn set_license_model(self, input: Option<LicenseModel>) -> Self
The recommended license type associated with the instance.
sourcepub fn get_license_model(&self) -> &Option<LicenseModel>
pub fn get_license_model(&self) -> &Option<LicenseModel>
The recommended license type associated with the instance.
sourcepub fn savings_opportunity(self, input: SavingsOpportunity) -> Self
pub fn savings_opportunity(self, input: SavingsOpportunity) -> Self
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.
sourcepub fn set_savings_opportunity(self, input: Option<SavingsOpportunity>) -> Self
pub fn set_savings_opportunity(self, input: Option<SavingsOpportunity>) -> Self
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.
sourcepub fn get_savings_opportunity(&self) -> &Option<SavingsOpportunity>
pub fn get_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.
sourcepub fn build(self) -> LicenseRecommendationOption
pub fn build(self) -> LicenseRecommendationOption
Consumes the builder and constructs a LicenseRecommendationOption
.
Trait Implementations§
source§impl Clone for LicenseRecommendationOptionBuilder
impl Clone for LicenseRecommendationOptionBuilder
source§fn clone(&self) -> LicenseRecommendationOptionBuilder
fn clone(&self) -> LicenseRecommendationOptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for LicenseRecommendationOptionBuilder
impl Default for LicenseRecommendationOptionBuilder
source§fn default() -> LicenseRecommendationOptionBuilder
fn default() -> LicenseRecommendationOptionBuilder
source§impl PartialEq for LicenseRecommendationOptionBuilder
impl PartialEq for LicenseRecommendationOptionBuilder
source§fn eq(&self, other: &LicenseRecommendationOptionBuilder) -> bool
fn eq(&self, other: &LicenseRecommendationOptionBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.