@Generated(value="software.amazon.awssdk:codegen") public final class AutoScalingGroupRecommendationOption extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AutoScalingGroupRecommendationOption.Builder,AutoScalingGroupRecommendationOption>
Describes a recommendation option for an Auto Scaling group.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AutoScalingGroupRecommendationOption.Builder |
| Modifier and Type | Method and Description |
|---|---|
static AutoScalingGroupRecommendationOption.Builder |
builder() |
AutoScalingGroupConfiguration |
configuration()
An array of objects that describe an Auto Scaling group configuration.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasProjectedUtilizationMetrics()
Returns true if the ProjectedUtilizationMetrics property was specified by the sender (it may be empty), or false
if the sender did not specify the value (it will be empty).
|
Double |
performanceRisk()
The performance risk of the Auto Scaling group configuration recommendation.
|
List<UtilizationMetric> |
projectedUtilizationMetrics()
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation
option.
|
Integer |
rank()
The rank of the Auto Scaling group recommendation option.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends AutoScalingGroupRecommendationOption.Builder> |
serializableBuilderClass() |
AutoScalingGroupRecommendationOption.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final AutoScalingGroupConfiguration configuration()
An array of objects that describe an Auto Scaling group configuration.
public final boolean hasProjectedUtilizationMetrics()
public final List<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.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasProjectedUtilizationMetrics() to see if a value was sent in this field.
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 final 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 to 5, 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 recommended resource meets 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 to 5, 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 recommended resource meets the performance requirements of your workload before migrating your resource.
public final Integer rank()
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AutoScalingGroupRecommendationOption.Builder,AutoScalingGroupRecommendationOption>public static AutoScalingGroupRecommendationOption.Builder builder()
public static Class<? extends AutoScalingGroupRecommendationOption.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.