public static interface EffectiveRecommendationPreferences.Builder extends SdkPojo, CopyableBuilder<EffectiveRecommendationPreferences.Builder,EffectiveRecommendationPreferences>
| Modifier and Type | Method and Description |
|---|---|
EffectiveRecommendationPreferences.Builder |
cpuVendorArchitectures(Collection<CpuVendorArchitecture> cpuVendorArchitectures)
Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
|
EffectiveRecommendationPreferences.Builder |
cpuVendorArchitectures(CpuVendorArchitecture... cpuVendorArchitectures)
Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
|
EffectiveRecommendationPreferences.Builder |
cpuVendorArchitecturesWithStrings(Collection<String> cpuVendorArchitectures)
Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
|
EffectiveRecommendationPreferences.Builder |
cpuVendorArchitecturesWithStrings(String... cpuVendorArchitectures)
Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
|
EffectiveRecommendationPreferences.Builder |
enhancedInfrastructureMetrics(EnhancedInfrastructureMetrics enhancedInfrastructureMetrics)
Describes the activation status of the enhanced infrastructure metrics preference.
|
EffectiveRecommendationPreferences.Builder |
enhancedInfrastructureMetrics(String enhancedInfrastructureMetrics)
Describes the activation status of the enhanced infrastructure metrics preference.
|
default EffectiveRecommendationPreferences.Builder |
externalMetricsPreference(Consumer<ExternalMetricsPreference.Builder> externalMetricsPreference)
An object that describes the external metrics recommendation preference.
|
EffectiveRecommendationPreferences.Builder |
externalMetricsPreference(ExternalMetricsPreference externalMetricsPreference)
An object that describes the external metrics recommendation preference.
|
EffectiveRecommendationPreferences.Builder |
inferredWorkloadTypes(InferredWorkloadTypesPreference inferredWorkloadTypes)
Describes the activation status of the inferred workload types preference.
|
EffectiveRecommendationPreferences.Builder |
inferredWorkloadTypes(String inferredWorkloadTypes)
Describes the activation status of the inferred workload types preference.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildEffectiveRecommendationPreferences.Builder cpuVendorArchitecturesWithStrings(Collection<String> cpuVendorArchitectures)
Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
For example, when you specify AWS_ARM64 with:
A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations 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 or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
cpuVendorArchitectures - Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
For example, when you specify AWS_ARM64 with:
A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations 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 or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
EffectiveRecommendationPreferences.Builder cpuVendorArchitecturesWithStrings(String... cpuVendorArchitectures)
Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
For example, when you specify AWS_ARM64 with:
A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations 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 or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
cpuVendorArchitectures - Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
For example, when you specify AWS_ARM64 with:
A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations 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 or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
EffectiveRecommendationPreferences.Builder cpuVendorArchitectures(Collection<CpuVendorArchitecture> cpuVendorArchitectures)
Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
For example, when you specify AWS_ARM64 with:
A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations 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 or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
cpuVendorArchitectures - Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
For example, when you specify AWS_ARM64 with:
A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations 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 or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
EffectiveRecommendationPreferences.Builder cpuVendorArchitectures(CpuVendorArchitecture... cpuVendorArchitectures)
Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
For example, when you specify AWS_ARM64 with:
A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations 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 or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
cpuVendorArchitectures - Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
For example, when you specify AWS_ARM64 with:
A GetEC2InstanceRecommendations or GetAutoScalingGroupRecommendations 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 or ExportAutoScalingGroupRecommendations request, Compute Optimizer exports recommendations that consist of Graviton2 instance types only.
EffectiveRecommendationPreferences.Builder enhancedInfrastructureMetrics(String enhancedInfrastructureMetrics)
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 to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
enhancedInfrastructureMetrics - 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 to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
EnhancedInfrastructureMetrics,
EnhancedInfrastructureMetricsEffectiveRecommendationPreferences.Builder enhancedInfrastructureMetrics(EnhancedInfrastructureMetrics enhancedInfrastructureMetrics)
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 to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
enhancedInfrastructureMetrics - 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 to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
EnhancedInfrastructureMetrics,
EnhancedInfrastructureMetricsEffectiveRecommendationPreferences.Builder inferredWorkloadTypes(String inferredWorkloadTypes)
Describes the activation status of the inferred workload types preference.
A status of Active confirms that the preference is applied in the latest recommendation refresh.
A status of Inactive confirms that it's not yet applied to recommendations.
inferredWorkloadTypes - Describes the activation status of the inferred workload types preference.
A status of Active confirms that the preference is applied in the latest recommendation
refresh. A status of Inactive confirms that it's not yet applied to recommendations.
InferredWorkloadTypesPreference,
InferredWorkloadTypesPreferenceEffectiveRecommendationPreferences.Builder inferredWorkloadTypes(InferredWorkloadTypesPreference inferredWorkloadTypes)
Describes the activation status of the inferred workload types preference.
A status of Active confirms that the preference is applied in the latest recommendation refresh.
A status of Inactive confirms that it's not yet applied to recommendations.
inferredWorkloadTypes - Describes the activation status of the inferred workload types preference.
A status of Active confirms that the preference is applied in the latest recommendation
refresh. A status of Inactive confirms that it's not yet applied to recommendations.
InferredWorkloadTypesPreference,
InferredWorkloadTypesPreferenceEffectiveRecommendationPreferences.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 EffectiveRecommendationPreferences.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.