Struct aws_sdk_computeoptimizer::model::auto_scaling_group_recommendation::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for AutoScalingGroupRecommendation
Implementations
The Amazon Web Services account ID of the Auto Scaling group.
The Amazon Web Services account ID of the Auto Scaling group.
The Amazon Resource Name (ARN) of the Auto Scaling group.
The Amazon Resource Name (ARN) of the Auto Scaling group.
The name of the Auto Scaling group.
The name of the Auto Scaling group.
The finding classification of the Auto Scaling group.
Findings for Auto Scaling groups include:
-
NotOptimized
—An Auto Scaling group is considered not optimized when Compute Optimizer identifies a recommendation that can provide better performance for your workload. -
Optimized
—An Auto Scaling group is considered optimized when Compute Optimizer determines that the group is correctly provisioned to run your workload based on the chosen instance type. For optimized resources, Compute Optimizer might recommend a new generation instance type.
The finding classification of the Auto Scaling group.
Findings for Auto Scaling groups include:
-
NotOptimized
—An Auto Scaling group is considered not optimized when Compute Optimizer identifies a recommendation that can provide better performance for your workload. -
Optimized
—An Auto Scaling group is considered optimized when Compute Optimizer determines that the group is correctly provisioned to run your workload based on the chosen instance type. For optimized resources, Compute Optimizer might recommend a new generation instance type.
Appends an item to utilization_metrics
.
To override the contents of this collection use set_utilization_metrics
.
An array of objects that describe the utilization metrics of the Auto Scaling group.
An array of objects that describe the utilization metrics of the Auto Scaling group.
The number of days for which utilization metrics were analyzed for the Auto Scaling group.
The number of days for which utilization metrics were analyzed for the Auto Scaling group.
An array of objects that describe the current configuration of the Auto Scaling group.
An array of objects that describe the current configuration of the Auto Scaling group.
Appends an item to recommendation_options
.
To override the contents of this collection use set_recommendation_options
.
An array of objects that describe the recommendation options for the Auto Scaling group.
pub fn set_recommendation_options(
self,
input: Option<Vec<AutoScalingGroupRecommendationOption>>
) -> Self
pub fn set_recommendation_options(
self,
input: Option<Vec<AutoScalingGroupRecommendationOption>>
) -> Self
An array of objects that describe the recommendation options for the Auto Scaling group.
The timestamp of when the Auto Scaling group recommendation was last generated.
The timestamp of when the Auto Scaling group recommendation was last generated.
The risk of the current Auto Scaling group not meeting the performance needs of its workloads. The higher the risk, the more likely the current Auto Scaling group configuration has insufficient capacity and cannot meet workload requirements.
The risk of the current Auto Scaling group not meeting the performance needs of its workloads. The higher the risk, the more likely the current Auto Scaling group configuration has insufficient capacity and cannot meet workload requirements.
pub fn effective_recommendation_preferences(
self,
input: EffectiveRecommendationPreferences
) -> Self
pub fn effective_recommendation_preferences(
self,
input: EffectiveRecommendationPreferences
) -> Self
An object that describes the effective recommendation preferences for the Auto Scaling group.
pub fn set_effective_recommendation_preferences(
self,
input: Option<EffectiveRecommendationPreferences>
) -> Self
pub fn set_effective_recommendation_preferences(
self,
input: Option<EffectiveRecommendationPreferences>
) -> Self
An object that describes the effective recommendation preferences for the Auto Scaling group.
Consumes the builder and constructs a AutoScalingGroupRecommendation
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more