public static interface RecommendationPreferencesDetail.Builder extends SdkPojo, CopyableBuilder<RecommendationPreferencesDetail.Builder,RecommendationPreferencesDetail>
| Modifier and Type | Method and Description |
|---|---|
RecommendationPreferencesDetail.Builder |
enhancedInfrastructureMetrics(EnhancedInfrastructureMetrics enhancedInfrastructureMetrics)
The status of the enhanced infrastructure metrics recommendation preference.
|
RecommendationPreferencesDetail.Builder |
enhancedInfrastructureMetrics(String enhancedInfrastructureMetrics)
The status of the enhanced infrastructure metrics recommendation preference.
|
default RecommendationPreferencesDetail.Builder |
externalMetricsPreference(Consumer<ExternalMetricsPreference.Builder> externalMetricsPreference)
An object that describes the external metrics recommendation preference.
|
RecommendationPreferencesDetail.Builder |
externalMetricsPreference(ExternalMetricsPreference externalMetricsPreference)
An object that describes the external metrics recommendation preference.
|
RecommendationPreferencesDetail.Builder |
inferredWorkloadTypes(InferredWorkloadTypesPreference inferredWorkloadTypes)
The status of the inferred workload types recommendation preference.
|
RecommendationPreferencesDetail.Builder |
inferredWorkloadTypes(String inferredWorkloadTypes)
The status of the inferred workload types recommendation preference.
|
RecommendationPreferencesDetail.Builder |
resourceType(ResourceType resourceType)
The target resource type of the recommendation preference to create.
|
RecommendationPreferencesDetail.Builder |
resourceType(String resourceType)
The target resource type of the recommendation preference to create.
|
default RecommendationPreferencesDetail.Builder |
scope(Consumer<Scope.Builder> scope)
An object that describes the scope of the recommendation preference.
|
RecommendationPreferencesDetail.Builder |
scope(Scope scope)
An object that describes the scope of the recommendation preference.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildRecommendationPreferencesDetail.Builder scope(Scope 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.
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.
default RecommendationPreferencesDetail.Builder scope(Consumer<Scope.Builder> 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.
This is a convenience method that creates an instance of theScope.Builder avoiding the need to
create one manually via Scope.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its result is
passed to scope(Scope).
scope - a consumer that will call methods on Scope.Builderscope(Scope)RecommendationPreferencesDetail.Builder resourceType(String 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.
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.
ResourceType,
ResourceTypeRecommendationPreferencesDetail.Builder resourceType(ResourceType 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.
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.
ResourceType,
ResourceTypeRecommendationPreferencesDetail.Builder enhancedInfrastructureMetrics(String enhancedInfrastructureMetrics)
The status of the enhanced infrastructure metrics recommendation preference.
When the recommendations page is refreshed, a status of Active confirms that the preference is
applied to the recommendations, and a status of Inactive confirms that the preference isn't yet
applied to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
enhancedInfrastructureMetrics - The status of the enhanced infrastructure metrics recommendation preference.
When the recommendations page is refreshed, a status of Active confirms that the
preference is applied to the recommendations, and a status of Inactive confirms that the
preference isn't yet applied to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
EnhancedInfrastructureMetrics,
EnhancedInfrastructureMetricsRecommendationPreferencesDetail.Builder enhancedInfrastructureMetrics(EnhancedInfrastructureMetrics enhancedInfrastructureMetrics)
The status of the enhanced infrastructure metrics recommendation preference.
When the recommendations page is refreshed, a status of Active confirms that the preference is
applied to the recommendations, and a status of Inactive confirms that the preference isn't yet
applied to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
enhancedInfrastructureMetrics - The status of the enhanced infrastructure metrics recommendation preference.
When the recommendations page is refreshed, a status of Active confirms that the
preference is applied to the recommendations, and a status of Inactive confirms that the
preference isn't yet applied to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
EnhancedInfrastructureMetrics,
EnhancedInfrastructureMetricsRecommendationPreferencesDetail.Builder inferredWorkloadTypes(String inferredWorkloadTypes)
The status of the inferred workload types recommendation preference.
When the recommendations page is refreshed, a status of Active confirms that the preference is
applied to the recommendations, and a status of Inactive confirms that the preference isn't yet
applied to recommendations.
inferredWorkloadTypes - The status of the inferred workload types recommendation preference.
When the recommendations page is refreshed, a status of Active confirms that the
preference is applied to the recommendations, and a status of Inactive confirms that the
preference isn't yet applied to recommendations.
InferredWorkloadTypesPreference,
InferredWorkloadTypesPreferenceRecommendationPreferencesDetail.Builder inferredWorkloadTypes(InferredWorkloadTypesPreference inferredWorkloadTypes)
The status of the inferred workload types recommendation preference.
When the recommendations page is refreshed, a status of Active confirms that the preference is
applied to the recommendations, and a status of Inactive confirms that the preference isn't yet
applied to recommendations.
inferredWorkloadTypes - The status of the inferred workload types recommendation preference.
When the recommendations page is refreshed, a status of Active confirms that the
preference is applied to the recommendations, and a status of Inactive confirms that the
preference isn't yet applied to recommendations.
InferredWorkloadTypesPreference,
InferredWorkloadTypesPreferenceRecommendationPreferencesDetail.Builder externalMetricsPreference(ExternalMetricsPreference externalMetricsPreference)
An object that describes the external metrics recommendation preference.
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.
externalMetricsPreference - An object that describes the external metrics recommendation preference.
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.
default RecommendationPreferencesDetail.Builder externalMetricsPreference(Consumer<ExternalMetricsPreference.Builder> externalMetricsPreference)
An object that describes the external metrics recommendation preference.
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.
ExternalMetricsPreference.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.