@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.
|
String |
getInferredWorkloadTypes()
Describes the activation status of the inferred workload types preference.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
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.
|
void |
setInferredWorkloadTypes(String inferredWorkloadTypes)
Describes the activation status of the inferred workload types 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.
|
EffectiveRecommendationPreferences |
withInferredWorkloadTypes(InferredWorkloadTypesPreference inferredWorkloadTypes)
Describes the activation status of the inferred workload types preference.
|
EffectiveRecommendationPreferences |
withInferredWorkloadTypes(String inferredWorkloadTypes)
Describes the activation status of the inferred workload types 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.
CpuVendorArchitecture
public 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.
CpuVendorArchitecture
public 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.
CpuVendorArchitecture
public 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.
CpuVendorArchitecture
public 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.
CpuVendorArchitecture
public 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 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
public 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 to recommendations.
For more information, see Enhanced infrastructure metrics in the Compute Optimizer User Guide.
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
public 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 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
public 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 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
public void setInferredWorkloadTypes(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
public String getInferredWorkloadTypes()
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.
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
public EffectiveRecommendationPreferences withInferredWorkloadTypes(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
public EffectiveRecommendationPreferences withInferredWorkloadTypes(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
public String toString()
toString
in class Object
Object.toString()
public EffectiveRecommendationPreferences clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.