@Generated(value="software.amazon.awssdk:codegen") public final class InstanceRecommendation extends Object implements SdkPojo, Serializable, ToCopyableBuilder<InstanceRecommendation.Builder,InstanceRecommendation>
Describes an Amazon EC2 instance recommendation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InstanceRecommendation.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The AWS account ID of the instance.
|
static InstanceRecommendation.Builder |
builder() |
String |
currentInstanceType()
The instance type of the current instance.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Finding |
finding()
The finding classification of the instance.
|
String |
findingAsString()
The finding classification of the instance.
|
List<InstanceRecommendationFindingReasonCode> |
findingReasonCodes()
The reason for the finding classification of the instance.
|
List<String> |
findingReasonCodesAsStrings()
The reason for the finding classification of the instance.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasFindingReasonCodes()
Returns true if the FindingReasonCodes property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
int |
hashCode() |
boolean |
hasRecommendationOptions()
Returns true if the RecommendationOptions property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasRecommendationSources()
Returns true if the RecommendationSources property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
boolean |
hasUtilizationMetrics()
Returns true if the UtilizationMetrics property was specified by the sender (it may be empty), or false if the
sender did not specify the value (it will be empty).
|
String |
instanceArn()
The Amazon Resource Name (ARN) of the current instance.
|
String |
instanceName()
The name of the current instance.
|
Instant |
lastRefreshTimestamp()
The time stamp of when the instance recommendation was last refreshed.
|
Double |
lookBackPeriodInDays()
The number of days for which utilization metrics were analyzed for the instance.
|
List<InstanceRecommendationOption> |
recommendationOptions()
An array of objects that describe the recommendation options for the instance.
|
List<RecommendationSource> |
recommendationSources()
An array of objects that describe the source resource of the recommendation.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InstanceRecommendation.Builder> |
serializableBuilderClass() |
InstanceRecommendation.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
List<UtilizationMetric> |
utilizationMetrics()
An array of objects that describe the utilization metrics of the instance.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String instanceArn()
The Amazon Resource Name (ARN) of the current instance.
public final String accountId()
The AWS account ID of the instance.
public final String instanceName()
The name of the current instance.
public final String currentInstanceType()
The instance type of the current instance.
public final Finding finding()
The finding classification of the instance.
Findings for instances include:
Underprovisioned —An instance is considered under-provisioned when at least one
specification of your instance, such as CPU, memory, or network, does not meet the performance requirements of
your workload. Under-provisioned instances may lead to poor application performance.
Overprovisioned —An instance is considered over-provisioned when at least one specification
of your instance, such as CPU, memory, or network, can be sized down while still meeting the performance
requirements of your workload, and no specification is under-provisioned. Over-provisioned instances may lead to
unnecessary infrastructure cost.
Optimized —An instance is considered optimized when all specifications of your instance,
such as CPU, memory, and network, meet the performance requirements of your workload and is not over provisioned.
For optimized resources, AWS Compute Optimizer might recommend a new generation instance type.
If the service returns an enum value that is not available in the current SDK version, finding will
return Finding.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
findingAsString().
Findings for instances include:
Underprovisioned —An instance is considered under-provisioned when at least one
specification of your instance, such as CPU, memory, or network, does not meet the performance
requirements of your workload. Under-provisioned instances may lead to poor application performance.
Overprovisioned —An instance is considered over-provisioned when at least one
specification of your instance, such as CPU, memory, or network, can be sized down while still meeting
the performance requirements of your workload, and no specification is under-provisioned.
Over-provisioned instances may lead to unnecessary infrastructure cost.
Optimized —An instance is considered optimized when all specifications of your
instance, such as CPU, memory, and network, meet the performance requirements of your workload and is not
over provisioned. For optimized resources, AWS Compute Optimizer might recommend a new generation
instance type.
Findingpublic final String findingAsString()
The finding classification of the instance.
Findings for instances include:
Underprovisioned —An instance is considered under-provisioned when at least one
specification of your instance, such as CPU, memory, or network, does not meet the performance requirements of
your workload. Under-provisioned instances may lead to poor application performance.
Overprovisioned —An instance is considered over-provisioned when at least one specification
of your instance, such as CPU, memory, or network, can be sized down while still meeting the performance
requirements of your workload, and no specification is under-provisioned. Over-provisioned instances may lead to
unnecessary infrastructure cost.
Optimized —An instance is considered optimized when all specifications of your instance,
such as CPU, memory, and network, meet the performance requirements of your workload and is not over provisioned.
For optimized resources, AWS Compute Optimizer might recommend a new generation instance type.
If the service returns an enum value that is not available in the current SDK version, finding will
return Finding.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
findingAsString().
Findings for instances include:
Underprovisioned —An instance is considered under-provisioned when at least one
specification of your instance, such as CPU, memory, or network, does not meet the performance
requirements of your workload. Under-provisioned instances may lead to poor application performance.
Overprovisioned —An instance is considered over-provisioned when at least one
specification of your instance, such as CPU, memory, or network, can be sized down while still meeting
the performance requirements of your workload, and no specification is under-provisioned.
Over-provisioned instances may lead to unnecessary infrastructure cost.
Optimized —An instance is considered optimized when all specifications of your
instance, such as CPU, memory, and network, meet the performance requirements of your workload and is not
over provisioned. For optimized resources, AWS Compute Optimizer might recommend a new generation
instance type.
Findingpublic final List<InstanceRecommendationFindingReasonCode> findingReasonCodes()
The reason for the finding classification of the instance.
Finding reason codes for instances include:
CPUOverprovisioned — The instance’s CPU configuration can be sized down while still meeting
the performance requirements of your workload. This is identified by analyzing the CPUUtilization
metric of the current instance during the look-back period.
CPUUnderprovisioned — The instance’s CPU configuration doesn't meet the performance
requirements of your workload and there is an alternative instance type that provides better CPU performance.
This is identified by analyzing the CPUUtilization metric of the current instance during the
look-back period.
MemoryOverprovisioned — The instance’s memory configuration can be sized down while still
meeting the performance requirements of your workload. This is identified by analyzing the memory utilization
metric of the current instance during the look-back period.
MemoryUnderprovisioned — The instance’s memory configuration doesn't meet the performance
requirements of your workload and there is an alternative instance type that provides better memory performance.
This is identified by analyzing the memory utilization metric of the current instance during the look-back
period.
Memory utilization is analyzed only for resources that have the unified CloudWatch agent installed on them. For
more information, see Enabling memory utilization
with the Amazon CloudWatch Agent in the AWS Compute Optimizer User Guide. On Linux instances, Compute
Optimizer analyses the mem_used_percent metric in the CWAgent namespace, or the legacy
MemoryUtilization metric in the System/Linux namespace. On Windows instances, Compute
Optimizer analyses the Memory % Committed Bytes In Use metric in the CWAgent namespace.
EBSThroughputOverprovisioned — The instance’s EBS throughput configuration can be sized
down while still meeting the performance requirements of your workload. This is identified by analyzing the
VolumeReadOps and VolumeWriteOps metrics of EBS volumes attached to the current
instance during the look-back period.
EBSThroughputUnderprovisioned — The instance’s EBS throughput configuration doesn't meet
the performance requirements of your workload and there is an alternative instance type that provides better EBS
throughput performance. This is identified by analyzing the VolumeReadOps and
VolumeWriteOps metrics of EBS volumes attached to the current instance during the look-back period.
EBSIOPSOverprovisioned — The instance’s EBS IOPS configuration can be sized down while
still meeting the performance requirements of your workload. This is identified by analyzing the
VolumeReadBytes and VolumeWriteBytes metric of EBS volumes attached to the current
instance during the look-back period.
EBSIOPSUnderprovisioned — The instance’s EBS IOPS configuration doesn't meet the
performance requirements of your workload and there is an alternative instance type that provides better EBS IOPS
performance. This is identified by analyzing the VolumeReadBytes and VolumeWriteBytes
metric of EBS volumes attached to the current instance during the look-back period.
NetworkBandwidthOverprovisioned — The instance’s network bandwidth configuration can be
sized down while still meeting the performance requirements of your workload. This is identified by analyzing the
NetworkIn and NetworkOut metrics of the current instance during the look-back period.
NetworkBandwidthUnderprovisioned — The instance’s network bandwidth configuration doesn't
meet the performance requirements of your workload and there is an alternative instance type that provides better
network bandwidth performance. This is identified by analyzing the NetworkIn and
NetworkOut metrics of the current instance during the look-back period. This finding reason happens
when the NetworkIn or NetworkOut performance of an instance is impacted.
NetworkPPSOverprovisioned — The instance’s network PPS (packets per second) configuration
can be sized down while still meeting the performance requirements of your workload. This is identified by
analyzing the NetworkPacketsIn and NetworkPacketsIn metrics of the current instance
during the look-back period.
NetworkPPSUnderprovisioned — The instance’s network PPS (packets per second) configuration
doesn't meet the performance requirements of your workload and there is an alternative instance type that
provides better network PPS performance. This is identified by analyzing the NetworkPacketsIn and
NetworkPacketsIn metrics of the current instance during the look-back period.
DiskIOPSOverprovisioned — The instance’s disk IOPS configuration can be sized down while
still meeting the performance requirements of your workload. This is identified by analyzing the
DiskReadOps and DiskWriteOps metrics of the current instance during the look-back
period.
DiskIOPSUnderprovisioned — The instance’s disk IOPS configuration doesn't meet the
performance requirements of your workload and there is an alternative instance type that provides better disk
IOPS performance. This is identified by analyzing the DiskReadOps and DiskWriteOps
metrics of the current instance during the look-back period.
DiskThroughputOverprovisioned — The instance’s disk throughput configuration can be sized
down while still meeting the performance requirements of your workload. This is identified by analyzing the
DiskReadBytes and DiskWriteBytes metrics of the current instance during the look-back
period.
DiskThroughputUnderprovisioned — The instance’s disk throughput configuration doesn't meet
the performance requirements of your workload and there is an alternative instance type that provides better disk
throughput performance. This is identified by analyzing the DiskReadBytes and
DiskWriteBytes metrics of the current instance during the look-back period.
For more information about instance metrics, see List the available CloudWatch metrics for your instances in the Amazon Elastic Compute Cloud User Guide. For more information about EBS volume metrics, see Amazon CloudWatch metrics for Amazon EBS in the Amazon Elastic Compute Cloud User Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFindingReasonCodes() to see if a value was sent in this field.
Finding reason codes for instances include:
CPUOverprovisioned — The instance’s CPU configuration can be sized down while still
meeting the performance requirements of your workload. This is identified by analyzing the
CPUUtilization metric of the current instance during the look-back period.
CPUUnderprovisioned — The instance’s CPU configuration doesn't meet the performance
requirements of your workload and there is an alternative instance type that provides better CPU
performance. This is identified by analyzing the CPUUtilization metric of the current
instance during the look-back period.
MemoryOverprovisioned — The instance’s memory configuration can be sized down while
still meeting the performance requirements of your workload. This is identified by analyzing the memory
utilization metric of the current instance during the look-back period.
MemoryUnderprovisioned — The instance’s memory configuration doesn't meet the
performance requirements of your workload and there is an alternative instance type that provides better
memory performance. This is identified by analyzing the memory utilization metric of the current instance
during the look-back period.
Memory utilization is analyzed only for resources that have the unified CloudWatch agent installed on
them. For more information, see Enabling memory
utilization with the Amazon CloudWatch Agent in the AWS Compute Optimizer User Guide. On Linux
instances, Compute Optimizer analyses the mem_used_percent metric in the
CWAgent namespace, or the legacy MemoryUtilization metric in the
System/Linux namespace. On Windows instances, Compute Optimizer analyses the
Memory % Committed Bytes In Use metric in the CWAgent namespace.
EBSThroughputOverprovisioned — The instance’s EBS throughput configuration can be
sized down while still meeting the performance requirements of your workload. This is identified by
analyzing the VolumeReadOps and VolumeWriteOps metrics of EBS volumes attached
to the current instance during the look-back period.
EBSThroughputUnderprovisioned — The instance’s EBS throughput configuration doesn't
meet the performance requirements of your workload and there is an alternative instance type that
provides better EBS throughput performance. This is identified by analyzing the
VolumeReadOps and VolumeWriteOps metrics of EBS volumes attached to the current
instance during the look-back period.
EBSIOPSOverprovisioned — The instance’s EBS IOPS configuration can be sized down
while still meeting the performance requirements of your workload. This is identified by analyzing the
VolumeReadBytes and VolumeWriteBytes metric of EBS volumes attached to the
current instance during the look-back period.
EBSIOPSUnderprovisioned — The instance’s EBS IOPS configuration doesn't meet the
performance requirements of your workload and there is an alternative instance type that provides better
EBS IOPS performance. This is identified by analyzing the VolumeReadBytes and
VolumeWriteBytes metric of EBS volumes attached to the current instance during the look-back
period.
NetworkBandwidthOverprovisioned — The instance’s network bandwidth configuration
can be sized down while still meeting the performance requirements of your workload. This is identified
by analyzing the NetworkIn and NetworkOut metrics of the current instance
during the look-back period.
NetworkBandwidthUnderprovisioned — The instance’s network bandwidth configuration
doesn't meet the performance requirements of your workload and there is an alternative instance type that
provides better network bandwidth performance. This is identified by analyzing the NetworkIn
and NetworkOut metrics of the current instance during the look-back period. This finding
reason happens when the NetworkIn or NetworkOut performance of an instance is
impacted.
NetworkPPSOverprovisioned — The instance’s network PPS (packets per second)
configuration can be sized down while still meeting the performance requirements of your workload. This
is identified by analyzing the NetworkPacketsIn and NetworkPacketsIn metrics of
the current instance during the look-back period.
NetworkPPSUnderprovisioned — The instance’s network PPS (packets per second)
configuration doesn't meet the performance requirements of your workload and there is an alternative
instance type that provides better network PPS performance. This is identified by analyzing the
NetworkPacketsIn and NetworkPacketsIn metrics of the current instance during
the look-back period.
DiskIOPSOverprovisioned — The instance’s disk IOPS configuration can be sized down
while still meeting the performance requirements of your workload. This is identified by analyzing the
DiskReadOps and DiskWriteOps metrics of the current instance during the
look-back period.
DiskIOPSUnderprovisioned — The instance’s disk IOPS configuration doesn't meet the
performance requirements of your workload and there is an alternative instance type that provides better
disk IOPS performance. This is identified by analyzing the DiskReadOps and
DiskWriteOps metrics of the current instance during the look-back period.
DiskThroughputOverprovisioned — The instance’s disk throughput configuration can be
sized down while still meeting the performance requirements of your workload. This is identified by
analyzing the DiskReadBytes and DiskWriteBytes metrics of the current instance
during the look-back period.
DiskThroughputUnderprovisioned — The instance’s disk throughput configuration
doesn't meet the performance requirements of your workload and there is an alternative instance type that
provides better disk throughput performance. This is identified by analyzing the
DiskReadBytes and DiskWriteBytes metrics of the current instance during the
look-back period.
For more information about instance metrics, see List the available CloudWatch metrics for your instances in the Amazon Elastic Compute Cloud User Guide. For more information about EBS volume metrics, see Amazon CloudWatch metrics for Amazon EBS in the Amazon Elastic Compute Cloud User Guide.
public final boolean hasFindingReasonCodes()
public final List<String> findingReasonCodesAsStrings()
The reason for the finding classification of the instance.
Finding reason codes for instances include:
CPUOverprovisioned — The instance’s CPU configuration can be sized down while still meeting
the performance requirements of your workload. This is identified by analyzing the CPUUtilization
metric of the current instance during the look-back period.
CPUUnderprovisioned — The instance’s CPU configuration doesn't meet the performance
requirements of your workload and there is an alternative instance type that provides better CPU performance.
This is identified by analyzing the CPUUtilization metric of the current instance during the
look-back period.
MemoryOverprovisioned — The instance’s memory configuration can be sized down while still
meeting the performance requirements of your workload. This is identified by analyzing the memory utilization
metric of the current instance during the look-back period.
MemoryUnderprovisioned — The instance’s memory configuration doesn't meet the performance
requirements of your workload and there is an alternative instance type that provides better memory performance.
This is identified by analyzing the memory utilization metric of the current instance during the look-back
period.
Memory utilization is analyzed only for resources that have the unified CloudWatch agent installed on them. For
more information, see Enabling memory utilization
with the Amazon CloudWatch Agent in the AWS Compute Optimizer User Guide. On Linux instances, Compute
Optimizer analyses the mem_used_percent metric in the CWAgent namespace, or the legacy
MemoryUtilization metric in the System/Linux namespace. On Windows instances, Compute
Optimizer analyses the Memory % Committed Bytes In Use metric in the CWAgent namespace.
EBSThroughputOverprovisioned — The instance’s EBS throughput configuration can be sized
down while still meeting the performance requirements of your workload. This is identified by analyzing the
VolumeReadOps and VolumeWriteOps metrics of EBS volumes attached to the current
instance during the look-back period.
EBSThroughputUnderprovisioned — The instance’s EBS throughput configuration doesn't meet
the performance requirements of your workload and there is an alternative instance type that provides better EBS
throughput performance. This is identified by analyzing the VolumeReadOps and
VolumeWriteOps metrics of EBS volumes attached to the current instance during the look-back period.
EBSIOPSOverprovisioned — The instance’s EBS IOPS configuration can be sized down while
still meeting the performance requirements of your workload. This is identified by analyzing the
VolumeReadBytes and VolumeWriteBytes metric of EBS volumes attached to the current
instance during the look-back period.
EBSIOPSUnderprovisioned — The instance’s EBS IOPS configuration doesn't meet the
performance requirements of your workload and there is an alternative instance type that provides better EBS IOPS
performance. This is identified by analyzing the VolumeReadBytes and VolumeWriteBytes
metric of EBS volumes attached to the current instance during the look-back period.
NetworkBandwidthOverprovisioned — The instance’s network bandwidth configuration can be
sized down while still meeting the performance requirements of your workload. This is identified by analyzing the
NetworkIn and NetworkOut metrics of the current instance during the look-back period.
NetworkBandwidthUnderprovisioned — The instance’s network bandwidth configuration doesn't
meet the performance requirements of your workload and there is an alternative instance type that provides better
network bandwidth performance. This is identified by analyzing the NetworkIn and
NetworkOut metrics of the current instance during the look-back period. This finding reason happens
when the NetworkIn or NetworkOut performance of an instance is impacted.
NetworkPPSOverprovisioned — The instance’s network PPS (packets per second) configuration
can be sized down while still meeting the performance requirements of your workload. This is identified by
analyzing the NetworkPacketsIn and NetworkPacketsIn metrics of the current instance
during the look-back period.
NetworkPPSUnderprovisioned — The instance’s network PPS (packets per second) configuration
doesn't meet the performance requirements of your workload and there is an alternative instance type that
provides better network PPS performance. This is identified by analyzing the NetworkPacketsIn and
NetworkPacketsIn metrics of the current instance during the look-back period.
DiskIOPSOverprovisioned — The instance’s disk IOPS configuration can be sized down while
still meeting the performance requirements of your workload. This is identified by analyzing the
DiskReadOps and DiskWriteOps metrics of the current instance during the look-back
period.
DiskIOPSUnderprovisioned — The instance’s disk IOPS configuration doesn't meet the
performance requirements of your workload and there is an alternative instance type that provides better disk
IOPS performance. This is identified by analyzing the DiskReadOps and DiskWriteOps
metrics of the current instance during the look-back period.
DiskThroughputOverprovisioned — The instance’s disk throughput configuration can be sized
down while still meeting the performance requirements of your workload. This is identified by analyzing the
DiskReadBytes and DiskWriteBytes metrics of the current instance during the look-back
period.
DiskThroughputUnderprovisioned — The instance’s disk throughput configuration doesn't meet
the performance requirements of your workload and there is an alternative instance type that provides better disk
throughput performance. This is identified by analyzing the DiskReadBytes and
DiskWriteBytes metrics of the current instance during the look-back period.
For more information about instance metrics, see List the available CloudWatch metrics for your instances in the Amazon Elastic Compute Cloud User Guide. For more information about EBS volume metrics, see Amazon CloudWatch metrics for Amazon EBS in the Amazon Elastic Compute Cloud User Guide.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasFindingReasonCodes() to see if a value was sent in this field.
Finding reason codes for instances include:
CPUOverprovisioned — The instance’s CPU configuration can be sized down while still
meeting the performance requirements of your workload. This is identified by analyzing the
CPUUtilization metric of the current instance during the look-back period.
CPUUnderprovisioned — The instance’s CPU configuration doesn't meet the performance
requirements of your workload and there is an alternative instance type that provides better CPU
performance. This is identified by analyzing the CPUUtilization metric of the current
instance during the look-back period.
MemoryOverprovisioned — The instance’s memory configuration can be sized down while
still meeting the performance requirements of your workload. This is identified by analyzing the memory
utilization metric of the current instance during the look-back period.
MemoryUnderprovisioned — The instance’s memory configuration doesn't meet the
performance requirements of your workload and there is an alternative instance type that provides better
memory performance. This is identified by analyzing the memory utilization metric of the current instance
during the look-back period.
Memory utilization is analyzed only for resources that have the unified CloudWatch agent installed on
them. For more information, see Enabling memory
utilization with the Amazon CloudWatch Agent in the AWS Compute Optimizer User Guide. On Linux
instances, Compute Optimizer analyses the mem_used_percent metric in the
CWAgent namespace, or the legacy MemoryUtilization metric in the
System/Linux namespace. On Windows instances, Compute Optimizer analyses the
Memory % Committed Bytes In Use metric in the CWAgent namespace.
EBSThroughputOverprovisioned — The instance’s EBS throughput configuration can be
sized down while still meeting the performance requirements of your workload. This is identified by
analyzing the VolumeReadOps and VolumeWriteOps metrics of EBS volumes attached
to the current instance during the look-back period.
EBSThroughputUnderprovisioned — The instance’s EBS throughput configuration doesn't
meet the performance requirements of your workload and there is an alternative instance type that
provides better EBS throughput performance. This is identified by analyzing the
VolumeReadOps and VolumeWriteOps metrics of EBS volumes attached to the current
instance during the look-back period.
EBSIOPSOverprovisioned — The instance’s EBS IOPS configuration can be sized down
while still meeting the performance requirements of your workload. This is identified by analyzing the
VolumeReadBytes and VolumeWriteBytes metric of EBS volumes attached to the
current instance during the look-back period.
EBSIOPSUnderprovisioned — The instance’s EBS IOPS configuration doesn't meet the
performance requirements of your workload and there is an alternative instance type that provides better
EBS IOPS performance. This is identified by analyzing the VolumeReadBytes and
VolumeWriteBytes metric of EBS volumes attached to the current instance during the look-back
period.
NetworkBandwidthOverprovisioned — The instance’s network bandwidth configuration
can be sized down while still meeting the performance requirements of your workload. This is identified
by analyzing the NetworkIn and NetworkOut metrics of the current instance
during the look-back period.
NetworkBandwidthUnderprovisioned — The instance’s network bandwidth configuration
doesn't meet the performance requirements of your workload and there is an alternative instance type that
provides better network bandwidth performance. This is identified by analyzing the NetworkIn
and NetworkOut metrics of the current instance during the look-back period. This finding
reason happens when the NetworkIn or NetworkOut performance of an instance is
impacted.
NetworkPPSOverprovisioned — The instance’s network PPS (packets per second)
configuration can be sized down while still meeting the performance requirements of your workload. This
is identified by analyzing the NetworkPacketsIn and NetworkPacketsIn metrics of
the current instance during the look-back period.
NetworkPPSUnderprovisioned — The instance’s network PPS (packets per second)
configuration doesn't meet the performance requirements of your workload and there is an alternative
instance type that provides better network PPS performance. This is identified by analyzing the
NetworkPacketsIn and NetworkPacketsIn metrics of the current instance during
the look-back period.
DiskIOPSOverprovisioned — The instance’s disk IOPS configuration can be sized down
while still meeting the performance requirements of your workload. This is identified by analyzing the
DiskReadOps and DiskWriteOps metrics of the current instance during the
look-back period.
DiskIOPSUnderprovisioned — The instance’s disk IOPS configuration doesn't meet the
performance requirements of your workload and there is an alternative instance type that provides better
disk IOPS performance. This is identified by analyzing the DiskReadOps and
DiskWriteOps metrics of the current instance during the look-back period.
DiskThroughputOverprovisioned — The instance’s disk throughput configuration can be
sized down while still meeting the performance requirements of your workload. This is identified by
analyzing the DiskReadBytes and DiskWriteBytes metrics of the current instance
during the look-back period.
DiskThroughputUnderprovisioned — The instance’s disk throughput configuration
doesn't meet the performance requirements of your workload and there is an alternative instance type that
provides better disk throughput performance. This is identified by analyzing the
DiskReadBytes and DiskWriteBytes metrics of the current instance during the
look-back period.
For more information about instance metrics, see List the available CloudWatch metrics for your instances in the Amazon Elastic Compute Cloud User Guide. For more information about EBS volume metrics, see Amazon CloudWatch metrics for Amazon EBS in the Amazon Elastic Compute Cloud User Guide.
public final boolean hasUtilizationMetrics()
public final List<UtilizationMetric> utilizationMetrics()
An array of objects that describe the utilization metrics of the instance.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasUtilizationMetrics() to see if a value was sent in this field.
public final Double lookBackPeriodInDays()
The number of days for which utilization metrics were analyzed for the instance.
public final boolean hasRecommendationOptions()
public final List<InstanceRecommendationOption> recommendationOptions()
An array of objects that describe the recommendation options for the instance.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRecommendationOptions() to see if a value was sent in this field.
public final boolean hasRecommendationSources()
public final List<RecommendationSource> recommendationSources()
An array of objects that describe the source resource of the recommendation.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
You can use hasRecommendationSources() to see if a value was sent in this field.
public final Instant lastRefreshTimestamp()
The time stamp of when the instance recommendation was last refreshed.
public InstanceRecommendation.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InstanceRecommendation.Builder,InstanceRecommendation>public static InstanceRecommendation.Builder builder()
public static Class<? extends InstanceRecommendation.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.