Struct aws_sdk_computeoptimizer::model::RecommendationPreferencesDetail [−][src]
#[non_exhaustive]pub struct RecommendationPreferencesDetail {
pub scope: Option<Scope>,
pub resource_type: Option<ResourceType>,
pub enhanced_infrastructure_metrics: Option<EnhancedInfrastructureMetrics>,
}
Expand description
Describes a recommendation preference.
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.scope: Option<Scope>
An object that describes the scope of the recommendation preference.
Recommendation preferences can be created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
resource_type: Option<ResourceType>
The target resource type of the recommendation preference to create.
The Ec2Instance
option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup
option encompasses only instances that are part of an Auto Scaling group.
enhanced_infrastructure_metrics: Option<EnhancedInfrastructureMetrics>
The status of the enhanced infrastructure metrics recommendation 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.
Implementations
An object that describes the scope of the recommendation preference.
Recommendation preferences can be created at the organization level (for management accounts of an organization only), account level, and resource level. For more information, see Activating enhanced infrastructure metrics in the Compute Optimizer User Guide.
The target resource type of the recommendation preference to create.
The Ec2Instance
option encompasses standalone instances and instances that are part of Auto Scaling groups. The AutoScalingGroup
option encompasses only instances that are part of an Auto Scaling group.
The status of the enhanced infrastructure metrics recommendation 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.
Creates a new builder-style object to manufacture RecommendationPreferencesDetail
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl Send for RecommendationPreferencesDetail
impl Sync for RecommendationPreferencesDetail
impl Unpin for RecommendationPreferencesDetail
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