@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoScalingGroupRecommendationOption extends Object implements Serializable, Cloneable, StructuredPojo
Describes a recommendation option for an Auto Scaling group.
Constructor and Description |
---|
AutoScalingGroupRecommendationOption() |
Modifier and Type | Method and Description |
---|---|
AutoScalingGroupRecommendationOption |
clone() |
boolean |
equals(Object obj) |
AutoScalingGroupConfiguration |
getConfiguration()
An array of objects that describe an Auto Scaling group configuration.
|
Double |
getPerformanceRisk()
The performance risk of the Auto Scaling group configuration recommendation.
|
List<UtilizationMetric> |
getProjectedUtilizationMetrics()
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation
option.
|
Integer |
getRank()
The rank of the Auto Scaling group recommendation option.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfiguration(AutoScalingGroupConfiguration configuration)
An array of objects that describe an Auto Scaling group configuration.
|
void |
setPerformanceRisk(Double performanceRisk)
The performance risk of the Auto Scaling group configuration recommendation.
|
void |
setProjectedUtilizationMetrics(Collection<UtilizationMetric> projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation
option.
|
void |
setRank(Integer rank)
The rank of the Auto Scaling group recommendation option.
|
String |
toString()
Returns a string representation of this object.
|
AutoScalingGroupRecommendationOption |
withConfiguration(AutoScalingGroupConfiguration configuration)
An array of objects that describe an Auto Scaling group configuration.
|
AutoScalingGroupRecommendationOption |
withPerformanceRisk(Double performanceRisk)
The performance risk of the Auto Scaling group configuration recommendation.
|
AutoScalingGroupRecommendationOption |
withProjectedUtilizationMetrics(Collection<UtilizationMetric> projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation
option.
|
AutoScalingGroupRecommendationOption |
withProjectedUtilizationMetrics(UtilizationMetric... projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation
option.
|
AutoScalingGroupRecommendationOption |
withRank(Integer rank)
The rank of the Auto Scaling group recommendation option.
|
public AutoScalingGroupRecommendationOption()
public void setConfiguration(AutoScalingGroupConfiguration configuration)
An array of objects that describe an Auto Scaling group configuration.
configuration
- An array of objects that describe an Auto Scaling group configuration.public AutoScalingGroupConfiguration getConfiguration()
An array of objects that describe an Auto Scaling group configuration.
public AutoScalingGroupRecommendationOption withConfiguration(AutoScalingGroupConfiguration configuration)
An array of objects that describe an Auto Scaling group configuration.
configuration
- An array of objects that describe an Auto Scaling group configuration.public List<UtilizationMetric> getProjectedUtilizationMetrics()
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.
The Cpu
and Memory
metrics are the only projected utilization metrics returned.
Additionally, the Memory
metric is returned only for resources that have the unified CloudWatch
agent installed on them. For more information, see Enabling Memory Utilization
with the CloudWatch Agent.
The Cpu
and Memory
metrics are the only projected utilization metrics returned.
Additionally, the Memory
metric is returned only for resources that have the unified
CloudWatch agent installed on them. For more information, see Enabling Memory
Utilization with the CloudWatch Agent.
public void setProjectedUtilizationMetrics(Collection<UtilizationMetric> projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.
The Cpu
and Memory
metrics are the only projected utilization metrics returned.
Additionally, the Memory
metric is returned only for resources that have the unified CloudWatch
agent installed on them. For more information, see Enabling Memory Utilization
with the CloudWatch Agent.
projectedUtilizationMetrics
- An array of objects that describe the projected utilization metrics of the Auto Scaling group
recommendation option.
The Cpu
and Memory
metrics are the only projected utilization metrics returned.
Additionally, the Memory
metric is returned only for resources that have the unified
CloudWatch agent installed on them. For more information, see Enabling Memory
Utilization with the CloudWatch Agent.
public AutoScalingGroupRecommendationOption withProjectedUtilizationMetrics(UtilizationMetric... projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.
The Cpu
and Memory
metrics are the only projected utilization metrics returned.
Additionally, the Memory
metric is returned only for resources that have the unified CloudWatch
agent installed on them. For more information, see Enabling Memory Utilization
with the CloudWatch Agent.
NOTE: This method appends the values to the existing list (if any). Use
setProjectedUtilizationMetrics(java.util.Collection)
or
withProjectedUtilizationMetrics(java.util.Collection)
if you want to override the existing values.
projectedUtilizationMetrics
- An array of objects that describe the projected utilization metrics of the Auto Scaling group
recommendation option.
The Cpu
and Memory
metrics are the only projected utilization metrics returned.
Additionally, the Memory
metric is returned only for resources that have the unified
CloudWatch agent installed on them. For more information, see Enabling Memory
Utilization with the CloudWatch Agent.
public AutoScalingGroupRecommendationOption withProjectedUtilizationMetrics(Collection<UtilizationMetric> projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.
The Cpu
and Memory
metrics are the only projected utilization metrics returned.
Additionally, the Memory
metric is returned only for resources that have the unified CloudWatch
agent installed on them. For more information, see Enabling Memory Utilization
with the CloudWatch Agent.
projectedUtilizationMetrics
- An array of objects that describe the projected utilization metrics of the Auto Scaling group
recommendation option.
The Cpu
and Memory
metrics are the only projected utilization metrics returned.
Additionally, the Memory
metric is returned only for resources that have the unified
CloudWatch agent installed on them. For more information, see Enabling Memory
Utilization with the CloudWatch Agent.
public void setPerformanceRisk(Double performanceRisk)
The performance risk of the Auto Scaling group configuration recommendation.
Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.
The value ranges from 0
- 4
, with 0
meaning that the recommended resource
is predicted to always provide enough hardware capability. The higher the performance risk is, the more likely
you should validate whether the recommendation will meet the performance requirements of your workload before
migrating your resource.
performanceRisk
- The performance risk of the Auto Scaling group configuration recommendation.
Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.
The value ranges from 0
- 4
, with 0
meaning that the recommended
resource is predicted to always provide enough hardware capability. The higher the performance risk is,
the more likely you should validate whether the recommendation will meet the performance requirements of
your workload before migrating your resource.
public Double getPerformanceRisk()
The performance risk of the Auto Scaling group configuration recommendation.
Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.
The value ranges from 0
- 4
, with 0
meaning that the recommended resource
is predicted to always provide enough hardware capability. The higher the performance risk is, the more likely
you should validate whether the recommendation will meet the performance requirements of your workload before
migrating your resource.
Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.
The value ranges from 0
- 4
, with 0
meaning that the recommended
resource is predicted to always provide enough hardware capability. The higher the performance risk is,
the more likely you should validate whether the recommendation will meet the performance requirements of
your workload before migrating your resource.
public AutoScalingGroupRecommendationOption withPerformanceRisk(Double performanceRisk)
The performance risk of the Auto Scaling group configuration recommendation.
Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.
The value ranges from 0
- 4
, with 0
meaning that the recommended resource
is predicted to always provide enough hardware capability. The higher the performance risk is, the more likely
you should validate whether the recommendation will meet the performance requirements of your workload before
migrating your resource.
performanceRisk
- The performance risk of the Auto Scaling group configuration recommendation.
Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.
The value ranges from 0
- 4
, with 0
meaning that the recommended
resource is predicted to always provide enough hardware capability. The higher the performance risk is,
the more likely you should validate whether the recommendation will meet the performance requirements of
your workload before migrating your resource.
public void setRank(Integer rank)
The rank of the Auto Scaling group recommendation option.
The top recommendation option is ranked as 1
.
rank
- The rank of the Auto Scaling group recommendation option.
The top recommendation option is ranked as 1
.
public Integer getRank()
The rank of the Auto Scaling group recommendation option.
The top recommendation option is ranked as 1
.
The top recommendation option is ranked as 1
.
public AutoScalingGroupRecommendationOption withRank(Integer rank)
The rank of the Auto Scaling group recommendation option.
The top recommendation option is ranked as 1
.
rank
- The rank of the Auto Scaling group recommendation option.
The top recommendation option is ranked as 1
.
public String toString()
toString
in class Object
Object.toString()
public AutoScalingGroupRecommendationOption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.