public static interface GetEffectiveRecommendationPreferencesResponse.Builder extends ComputeOptimizerResponse.Builder, SdkPojo, CopyableBuilder<GetEffectiveRecommendationPreferencesResponse.Builder,GetEffectiveRecommendationPreferencesResponse>
| Modifier and Type | Method and Description |
|---|---|
GetEffectiveRecommendationPreferencesResponse.Builder |
enhancedInfrastructureMetrics(EnhancedInfrastructureMetrics enhancedInfrastructureMetrics)
The status of the enhanced infrastructure metrics recommendation preference.
|
GetEffectiveRecommendationPreferencesResponse.Builder |
enhancedInfrastructureMetrics(String enhancedInfrastructureMetrics)
The status of the enhanced infrastructure metrics recommendation preference.
|
default GetEffectiveRecommendationPreferencesResponse.Builder |
externalMetricsPreference(Consumer<ExternalMetricsPreference.Builder> externalMetricsPreference)
The provider of the external metrics recommendation preference.
|
GetEffectiveRecommendationPreferencesResponse.Builder |
externalMetricsPreference(ExternalMetricsPreference externalMetricsPreference)
The provider of the external metrics recommendation preference.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildGetEffectiveRecommendationPreferencesResponse.Builder enhancedInfrastructureMetrics(String enhancedInfrastructureMetrics)
The status of the enhanced infrastructure metrics recommendation preference. Considers all applicable preferences that you might have set at the resource, account, and organization level.
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 to recommendations.
To validate whether the preference is applied to your last generated set of recommendations, review the
effectiveRecommendationPreferences value in the response of the
GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
enhancedInfrastructureMetrics - The status of the enhanced infrastructure metrics recommendation preference. Considers all applicable
preferences that you might have set at the resource, account, and organization level.
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 to recommendations.
To validate whether the preference is applied to your last generated set of recommendations, review
the effectiveRecommendationPreferences value in the response of the
GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
EnhancedInfrastructureMetrics,
EnhancedInfrastructureMetricsGetEffectiveRecommendationPreferencesResponse.Builder enhancedInfrastructureMetrics(EnhancedInfrastructureMetrics enhancedInfrastructureMetrics)
The status of the enhanced infrastructure metrics recommendation preference. Considers all applicable preferences that you might have set at the resource, account, and organization level.
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 to recommendations.
To validate whether the preference is applied to your last generated set of recommendations, review the
effectiveRecommendationPreferences value in the response of the
GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
enhancedInfrastructureMetrics - The status of the enhanced infrastructure metrics recommendation preference. Considers all applicable
preferences that you might have set at the resource, account, and organization level.
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 to recommendations.
To validate whether the preference is applied to your last generated set of recommendations, review
the effectiveRecommendationPreferences value in the response of the
GetAutoScalingGroupRecommendations and GetEC2InstanceRecommendations actions.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
EnhancedInfrastructureMetrics,
EnhancedInfrastructureMetricsGetEffectiveRecommendationPreferencesResponse.Builder externalMetricsPreference(ExternalMetricsPreference externalMetricsPreference)
The provider of the external metrics recommendation preference. Considers all applicable preferences that you might have set at the account and organization level.
If the preference is applied in the latest recommendation refresh, an object with a valid source
value appears in the response. If the preference isn't applied to the recommendations already, then this
object doesn't appear in the response.
To validate whether the preference is applied to your last generated set of recommendations, review the
effectiveRecommendationPreferences value in the response of the
GetEC2InstanceRecommendations actions.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
externalMetricsPreference - The provider of the external metrics recommendation preference. Considers all applicable preferences
that you might have set at the account and organization level.
If the preference is applied in the latest recommendation refresh, an object with a valid
source value appears in the response. If the preference isn't applied to the
recommendations already, then this object doesn't appear in the response.
To validate whether the preference is applied to your last generated set of recommendations, review
the effectiveRecommendationPreferences value in the response of the
GetEC2InstanceRecommendations actions.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
default GetEffectiveRecommendationPreferencesResponse.Builder externalMetricsPreference(Consumer<ExternalMetricsPreference.Builder> externalMetricsPreference)
The provider of the external metrics recommendation preference. Considers all applicable preferences that you might have set at the account and organization level.
If the preference is applied in the latest recommendation refresh, an object with a valid source
value appears in the response. If the preference isn't applied to the recommendations already, then this
object doesn't appear in the response.
To validate whether the preference is applied to your last generated set of recommendations, review the
effectiveRecommendationPreferences value in the response of the
GetEC2InstanceRecommendations actions.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
This is a convenience method that creates an instance of theExternalMetricsPreference.Builder
avoiding the need to create one manually via ExternalMetricsPreference.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to externalMetricsPreference(ExternalMetricsPreference).
externalMetricsPreference - a consumer that will call methods on ExternalMetricsPreference.BuilderexternalMetricsPreference(ExternalMetricsPreference)Copyright © 2023. All rights reserved.