Struct aws_sdk_computeoptimizer::model::effective_recommendation_preferences::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for EffectiveRecommendationPreferences
Implementations
Appends an item to cpu_vendor_architectures
.
To override the contents of this collection use set_cpu_vendor_architectures
.
Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
For example, when you specify AWS_ARM64
with:
-
A
GetEC2InstanceRecommendations
orGetAutoScalingGroupRecommendations
request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only. -
A
GetEC2RecommendationProjectedMetrics
request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only. -
A
ExportEC2InstanceRecommendations
orExportAutoScalingGroupRecommendations
request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
For example, when you specify AWS_ARM64
with:
-
A
GetEC2InstanceRecommendations
orGetAutoScalingGroupRecommendations
request, Compute Optimizer returns recommendations that consist of Graviton2 instance types only. -
A
GetEC2RecommendationProjectedMetrics
request, Compute Optimizer returns projected utilization metrics for Graviton2 instance type recommendations only. -
A
ExportEC2InstanceRecommendations
orExportAutoScalingGroupRecommendations
request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
Describes the activation status of the enhanced infrastructure metrics preference.
A status of Active
confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive
confirms that it's not yet applied.
pub fn set_enhanced_infrastructure_metrics(
self,
input: Option<EnhancedInfrastructureMetrics>
) -> Self
pub fn set_enhanced_infrastructure_metrics(
self,
input: Option<EnhancedInfrastructureMetrics>
) -> Self
Describes the activation status of the enhanced infrastructure metrics preference.
A status of Active
confirms that the preference is applied in the latest recommendation refresh, and a status of Inactive
confirms that it's not yet applied.
Consumes the builder and constructs a EffectiveRecommendationPreferences
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