@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EffectiveRecommendationPreferences extends Object implements Serializable, Cloneable, StructuredPojo
Describes the effective recommendation preferences for a resource.
| Constructor and Description |
|---|
EffectiveRecommendationPreferences() |
| Modifier and Type | Method and Description |
|---|---|
EffectiveRecommendationPreferences |
clone() |
boolean |
equals(Object obj) |
List<String> |
getCpuVendorArchitectures()
Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
|
String |
getEnhancedInfrastructureMetrics()
Describes the activation status of the enhanced infrastructure metrics preference.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setCpuVendorArchitectures(Collection<String> cpuVendorArchitectures)
Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
|
void |
setEnhancedInfrastructureMetrics(String enhancedInfrastructureMetrics)
Describes the activation status of the enhanced infrastructure metrics preference.
|
String |
toString()
Returns a string representation of this object.
|
EffectiveRecommendationPreferences |
withCpuVendorArchitectures(Collection<String> cpuVendorArchitectures)
Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
|
EffectiveRecommendationPreferences |
withCpuVendorArchitectures(CpuVendorArchitecture... cpuVendorArchitectures)
Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
|
EffectiveRecommendationPreferences |
withCpuVendorArchitectures(String... cpuVendorArchitectures)
Describes the CPU vendor and architecture for an instance or Auto Scaling group recommendations.
|
EffectiveRecommendationPreferences |
withEnhancedInfrastructureMetrics(EnhancedInfrastructureMetrics enhancedInfrastructureMetrics)
Describes the activation status of the enhanced infrastructure metrics preference.
|
EffectiveRecommendationPreferences |
withEnhancedInfrastructureMetrics(String enhancedInfrastructureMetrics)
Describes the activation status of the enhanced infrastructure metrics preference.
|
public List<String> getCpuVendorArchitectures()
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.
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.
CpuVendorArchitecturepublic void setCpuVendorArchitectures(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.
CpuVendorArchitecturepublic EffectiveRecommendationPreferences withCpuVendorArchitectures(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.
NOTE: This method appends the values to the existing list (if any). Use
setCpuVendorArchitectures(java.util.Collection) or
withCpuVendorArchitectures(java.util.Collection) if you want to override the existing values.
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.
CpuVendorArchitecturepublic EffectiveRecommendationPreferences withCpuVendorArchitectures(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.
CpuVendorArchitecturepublic EffectiveRecommendationPreferences withCpuVendorArchitectures(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.
CpuVendorArchitecturepublic void setEnhancedInfrastructureMetrics(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.
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.
EnhancedInfrastructureMetricspublic String getEnhancedInfrastructureMetrics()
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.
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.
EnhancedInfrastructureMetricspublic EffectiveRecommendationPreferences withEnhancedInfrastructureMetrics(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.
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.
EnhancedInfrastructureMetricspublic EffectiveRecommendationPreferences withEnhancedInfrastructureMetrics(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.
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.
EnhancedInfrastructureMetricspublic String toString()
toString in class ObjectObject.toString()public EffectiveRecommendationPreferences clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.