Interface InstanceRecommendation.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InstanceRecommendation.Builder,
,InstanceRecommendation> SdkBuilder<InstanceRecommendation.Builder,
,InstanceRecommendation> SdkPojo
- Enclosing class:
InstanceRecommendation
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Web Services account ID of the instance.default InstanceRecommendation.Builder
currentInstanceGpuInfo
(Consumer<GpuInfo.Builder> currentInstanceGpuInfo) Describes the GPU accelerator settings for the current instance type.currentInstanceGpuInfo
(GpuInfo currentInstanceGpuInfo) Describes the GPU accelerator settings for the current instance type.currentInstanceType
(String currentInstanceType) The instance type of the current instance.currentPerformanceRisk
(String currentPerformanceRisk) The risk of the current instance not meeting the performance needs of its workloads.currentPerformanceRisk
(CurrentPerformanceRisk currentPerformanceRisk) The risk of the current instance not meeting the performance needs of its workloads.default InstanceRecommendation.Builder
effectiveRecommendationPreferences
(Consumer<EffectiveRecommendationPreferences.Builder> effectiveRecommendationPreferences) An object that describes the effective recommendation preferences for the instance.effectiveRecommendationPreferences
(EffectiveRecommendationPreferences effectiveRecommendationPreferences) An object that describes the effective recommendation preferences for the instance.default InstanceRecommendation.Builder
externalMetricStatus
(Consumer<ExternalMetricStatus.Builder> externalMetricStatus) An object that describes Compute Optimizer's integration status with your external metrics provider.externalMetricStatus
(ExternalMetricStatus externalMetricStatus) An object that describes Compute Optimizer's integration status with your external metrics provider.The finding classification of the instance.The finding classification of the instance.findingReasonCodes
(Collection<InstanceRecommendationFindingReasonCode> findingReasonCodes) The reason for the finding classification of the instance.findingReasonCodes
(InstanceRecommendationFindingReasonCode... findingReasonCodes) The reason for the finding classification of the instance.findingReasonCodesWithStrings
(String... findingReasonCodes) The reason for the finding classification of the instance.findingReasonCodesWithStrings
(Collection<String> findingReasonCodes) The reason for the finding classification of the instance.Describes if an Amazon EC2 instance is idle.idle
(InstanceIdle idle) Describes if an Amazon EC2 instance is idle.inferredWorkloadTypes
(Collection<InferredWorkloadType> inferredWorkloadTypes) The applications that might be running on the instance as inferred by Compute Optimizer.inferredWorkloadTypes
(InferredWorkloadType... inferredWorkloadTypes) The applications that might be running on the instance as inferred by Compute Optimizer.inferredWorkloadTypesWithStrings
(String... inferredWorkloadTypes) The applications that might be running on the instance as inferred by Compute Optimizer.inferredWorkloadTypesWithStrings
(Collection<String> inferredWorkloadTypes) The applications that might be running on the instance as inferred by Compute Optimizer.instanceArn
(String instanceArn) The Amazon Resource Name (ARN) of the current instance.instanceName
(String instanceName) The name of the current instance.instanceState
(String instanceState) The state of the instance when the recommendation was generated.instanceState
(InstanceState instanceState) The state of the instance when the recommendation was generated.lastRefreshTimestamp
(Instant lastRefreshTimestamp) The timestamp of when the instance recommendation was last generated.lookBackPeriodInDays
(Double lookBackPeriodInDays) The number of days for which utilization metrics were analyzed for the instance.recommendationOptions
(Collection<InstanceRecommendationOption> recommendationOptions) An array of objects that describe the recommendation options for the instance.recommendationOptions
(Consumer<InstanceRecommendationOption.Builder>... recommendationOptions) An array of objects that describe the recommendation options for the instance.recommendationOptions
(InstanceRecommendationOption... recommendationOptions) An array of objects that describe the recommendation options for the instance.recommendationSources
(Collection<RecommendationSource> recommendationSources) An array of objects that describe the source resource of the recommendation.recommendationSources
(Consumer<RecommendationSource.Builder>... recommendationSources) An array of objects that describe the source resource of the recommendation.recommendationSources
(RecommendationSource... recommendationSources) An array of objects that describe the source resource of the recommendation.tags
(Collection<Tag> tags) A list of tags assigned to your Amazon EC2 instance recommendations.tags
(Consumer<Tag.Builder>... tags) A list of tags assigned to your Amazon EC2 instance recommendations.A list of tags assigned to your Amazon EC2 instance recommendations.utilizationMetrics
(Collection<UtilizationMetric> utilizationMetrics) An array of objects that describe the utilization metrics of the instance.utilizationMetrics
(Consumer<UtilizationMetric.Builder>... utilizationMetrics) An array of objects that describe the utilization metrics of the instance.utilizationMetrics
(UtilizationMetric... utilizationMetrics) An array of objects that describe the utilization metrics of the instance.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
instanceArn
The Amazon Resource Name (ARN) of the current instance.
- Parameters:
instanceArn
- The Amazon Resource Name (ARN) of the current instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
The Amazon Web Services account ID of the instance.
- Parameters:
accountId
- The Amazon Web Services account ID of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
instanceName
The name of the current instance.
- Parameters:
instanceName
- The name of the current instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentInstanceType
The instance type of the current instance.
- Parameters:
currentInstanceType
- The instance type of the current instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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, Compute Optimizer might recommend a new generation instance type.
- Parameters:
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, Compute Optimizer might recommend a new generation instance type.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
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, Compute Optimizer might recommend a new generation instance type.
- Parameters:
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, Compute Optimizer might recommend a new generation instance type.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
findingReasonCodesWithStrings
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 theCPUUtilization
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 theCPUUtilization
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 Compute Optimizer User Guide. On Linux instances, Compute Optimizer analyses the
mem_used_percent
metric in theCWAgent
namespace, or the legacyMemoryUtilization
metric in theSystem/Linux
namespace. On Windows instances, Compute Optimizer analyses theMemory % Committed Bytes In Use
metric in theCWAgent
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 theVolumeReadBytes
andVolumeWriteBytes
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 theVolumeReadBytes
andVolumeWriteBytes
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 theVolumeReadOps
andVolumeWriteOps
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 theVolumeReadOps
andVolumeWriteOps
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 theNetworkIn
andNetworkOut
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 theNetworkIn
andNetworkOut
metrics of the current instance during the look-back period. This finding reason happens when theNetworkIn
orNetworkOut
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 theNetworkPacketsIn
andNetworkPacketsIn
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 theNetworkPacketsIn
andNetworkPacketsIn
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 theDiskReadOps
andDiskWriteOps
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 theDiskReadOps
andDiskWriteOps
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 theDiskReadBytes
andDiskWriteBytes
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 theDiskReadBytes
andDiskWriteBytes
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.
- Parameters:
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 theCPUUtilization
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 theCPUUtilization
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 Compute Optimizer User Guide. On Linux instances, Compute Optimizer analyses the
mem_used_percent
metric in theCWAgent
namespace, or the legacyMemoryUtilization
metric in theSystem/Linux
namespace. On Windows instances, Compute Optimizer analyses theMemory % Committed Bytes In Use
metric in theCWAgent
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 theVolumeReadBytes
andVolumeWriteBytes
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 theVolumeReadBytes
andVolumeWriteBytes
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 theVolumeReadOps
andVolumeWriteOps
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 theVolumeReadOps
andVolumeWriteOps
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 theNetworkIn
andNetworkOut
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 theNetworkIn
andNetworkOut
metrics of the current instance during the look-back period. This finding reason happens when theNetworkIn
orNetworkOut
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 theNetworkPacketsIn
andNetworkPacketsIn
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 theNetworkPacketsIn
andNetworkPacketsIn
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 theDiskReadOps
andDiskWriteOps
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 theDiskReadOps
andDiskWriteOps
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 theDiskReadBytes
andDiskWriteBytes
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 theDiskReadBytes
andDiskWriteBytes
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
findingReasonCodesWithStrings
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 theCPUUtilization
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 theCPUUtilization
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 Compute Optimizer User Guide. On Linux instances, Compute Optimizer analyses the
mem_used_percent
metric in theCWAgent
namespace, or the legacyMemoryUtilization
metric in theSystem/Linux
namespace. On Windows instances, Compute Optimizer analyses theMemory % Committed Bytes In Use
metric in theCWAgent
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 theVolumeReadBytes
andVolumeWriteBytes
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 theVolumeReadBytes
andVolumeWriteBytes
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 theVolumeReadOps
andVolumeWriteOps
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 theVolumeReadOps
andVolumeWriteOps
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 theNetworkIn
andNetworkOut
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 theNetworkIn
andNetworkOut
metrics of the current instance during the look-back period. This finding reason happens when theNetworkIn
orNetworkOut
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 theNetworkPacketsIn
andNetworkPacketsIn
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 theNetworkPacketsIn
andNetworkPacketsIn
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 theDiskReadOps
andDiskWriteOps
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 theDiskReadOps
andDiskWriteOps
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 theDiskReadBytes
andDiskWriteBytes
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 theDiskReadBytes
andDiskWriteBytes
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.
- Parameters:
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 theCPUUtilization
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 theCPUUtilization
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 Compute Optimizer User Guide. On Linux instances, Compute Optimizer analyses the
mem_used_percent
metric in theCWAgent
namespace, or the legacyMemoryUtilization
metric in theSystem/Linux
namespace. On Windows instances, Compute Optimizer analyses theMemory % Committed Bytes In Use
metric in theCWAgent
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 theVolumeReadBytes
andVolumeWriteBytes
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 theVolumeReadBytes
andVolumeWriteBytes
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 theVolumeReadOps
andVolumeWriteOps
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 theVolumeReadOps
andVolumeWriteOps
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 theNetworkIn
andNetworkOut
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 theNetworkIn
andNetworkOut
metrics of the current instance during the look-back period. This finding reason happens when theNetworkIn
orNetworkOut
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 theNetworkPacketsIn
andNetworkPacketsIn
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 theNetworkPacketsIn
andNetworkPacketsIn
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 theDiskReadOps
andDiskWriteOps
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 theDiskReadOps
andDiskWriteOps
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 theDiskReadBytes
andDiskWriteBytes
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 theDiskReadBytes
andDiskWriteBytes
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
findingReasonCodes
InstanceRecommendation.Builder findingReasonCodes(Collection<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 theCPUUtilization
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 theCPUUtilization
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 Compute Optimizer User Guide. On Linux instances, Compute Optimizer analyses the
mem_used_percent
metric in theCWAgent
namespace, or the legacyMemoryUtilization
metric in theSystem/Linux
namespace. On Windows instances, Compute Optimizer analyses theMemory % Committed Bytes In Use
metric in theCWAgent
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 theVolumeReadBytes
andVolumeWriteBytes
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 theVolumeReadBytes
andVolumeWriteBytes
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 theVolumeReadOps
andVolumeWriteOps
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 theVolumeReadOps
andVolumeWriteOps
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 theNetworkIn
andNetworkOut
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 theNetworkIn
andNetworkOut
metrics of the current instance during the look-back period. This finding reason happens when theNetworkIn
orNetworkOut
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 theNetworkPacketsIn
andNetworkPacketsIn
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 theNetworkPacketsIn
andNetworkPacketsIn
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 theDiskReadOps
andDiskWriteOps
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 theDiskReadOps
andDiskWriteOps
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 theDiskReadBytes
andDiskWriteBytes
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 theDiskReadBytes
andDiskWriteBytes
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.
- Parameters:
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 theCPUUtilization
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 theCPUUtilization
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 Compute Optimizer User Guide. On Linux instances, Compute Optimizer analyses the
mem_used_percent
metric in theCWAgent
namespace, or the legacyMemoryUtilization
metric in theSystem/Linux
namespace. On Windows instances, Compute Optimizer analyses theMemory % Committed Bytes In Use
metric in theCWAgent
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 theVolumeReadBytes
andVolumeWriteBytes
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 theVolumeReadBytes
andVolumeWriteBytes
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 theVolumeReadOps
andVolumeWriteOps
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 theVolumeReadOps
andVolumeWriteOps
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 theNetworkIn
andNetworkOut
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 theNetworkIn
andNetworkOut
metrics of the current instance during the look-back period. This finding reason happens when theNetworkIn
orNetworkOut
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 theNetworkPacketsIn
andNetworkPacketsIn
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 theNetworkPacketsIn
andNetworkPacketsIn
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 theDiskReadOps
andDiskWriteOps
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 theDiskReadOps
andDiskWriteOps
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 theDiskReadBytes
andDiskWriteBytes
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 theDiskReadBytes
andDiskWriteBytes
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
findingReasonCodes
InstanceRecommendation.Builder findingReasonCodes(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 theCPUUtilization
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 theCPUUtilization
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 Compute Optimizer User Guide. On Linux instances, Compute Optimizer analyses the
mem_used_percent
metric in theCWAgent
namespace, or the legacyMemoryUtilization
metric in theSystem/Linux
namespace. On Windows instances, Compute Optimizer analyses theMemory % Committed Bytes In Use
metric in theCWAgent
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 theVolumeReadBytes
andVolumeWriteBytes
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 theVolumeReadBytes
andVolumeWriteBytes
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 theVolumeReadOps
andVolumeWriteOps
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 theVolumeReadOps
andVolumeWriteOps
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 theNetworkIn
andNetworkOut
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 theNetworkIn
andNetworkOut
metrics of the current instance during the look-back period. This finding reason happens when theNetworkIn
orNetworkOut
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 theNetworkPacketsIn
andNetworkPacketsIn
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 theNetworkPacketsIn
andNetworkPacketsIn
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 theDiskReadOps
andDiskWriteOps
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 theDiskReadOps
andDiskWriteOps
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 theDiskReadBytes
andDiskWriteBytes
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 theDiskReadBytes
andDiskWriteBytes
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.
- Parameters:
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 theCPUUtilization
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 theCPUUtilization
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 Compute Optimizer User Guide. On Linux instances, Compute Optimizer analyses the
mem_used_percent
metric in theCWAgent
namespace, or the legacyMemoryUtilization
metric in theSystem/Linux
namespace. On Windows instances, Compute Optimizer analyses theMemory % Committed Bytes In Use
metric in theCWAgent
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 theVolumeReadBytes
andVolumeWriteBytes
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 theVolumeReadBytes
andVolumeWriteBytes
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 theVolumeReadOps
andVolumeWriteOps
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 theVolumeReadOps
andVolumeWriteOps
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 theNetworkIn
andNetworkOut
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 theNetworkIn
andNetworkOut
metrics of the current instance during the look-back period. This finding reason happens when theNetworkIn
orNetworkOut
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 theNetworkPacketsIn
andNetworkPacketsIn
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 theNetworkPacketsIn
andNetworkPacketsIn
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 theDiskReadOps
andDiskWriteOps
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 theDiskReadOps
andDiskWriteOps
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 theDiskReadBytes
andDiskWriteBytes
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 theDiskReadBytes
andDiskWriteBytes
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.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
utilizationMetrics
An array of objects that describe the utilization metrics of the instance.
- Parameters:
utilizationMetrics
- An array of objects that describe the utilization metrics of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
utilizationMetrics
An array of objects that describe the utilization metrics of the instance.
- Parameters:
utilizationMetrics
- An array of objects that describe the utilization metrics of the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
utilizationMetrics
InstanceRecommendation.Builder utilizationMetrics(Consumer<UtilizationMetric.Builder>... utilizationMetrics) An array of objects that describe the utilization metrics of the instance.
This is a convenience method that creates an instance of theUtilizationMetric.Builder
avoiding the need to create one manually viaUtilizationMetric.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toutilizationMetrics(List<UtilizationMetric>)
.- Parameters:
utilizationMetrics
- a consumer that will call methods onUtilizationMetric.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lookBackPeriodInDays
The number of days for which utilization metrics were analyzed for the instance.
- Parameters:
lookBackPeriodInDays
- The number of days for which utilization metrics were analyzed for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationOptions
InstanceRecommendation.Builder recommendationOptions(Collection<InstanceRecommendationOption> recommendationOptions) An array of objects that describe the recommendation options for the instance.
- Parameters:
recommendationOptions
- An array of objects that describe the recommendation options for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationOptions
InstanceRecommendation.Builder recommendationOptions(InstanceRecommendationOption... recommendationOptions) An array of objects that describe the recommendation options for the instance.
- Parameters:
recommendationOptions
- An array of objects that describe the recommendation options for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationOptions
InstanceRecommendation.Builder recommendationOptions(Consumer<InstanceRecommendationOption.Builder>... recommendationOptions) An array of objects that describe the recommendation options for the instance.
This is a convenience method that creates an instance of theInstanceRecommendationOption.Builder
avoiding the need to create one manually viaInstanceRecommendationOption.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecommendationOptions(List<InstanceRecommendationOption>)
.- Parameters:
recommendationOptions
- a consumer that will call methods onInstanceRecommendationOption.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
recommendationSources
InstanceRecommendation.Builder recommendationSources(Collection<RecommendationSource> recommendationSources) An array of objects that describe the source resource of the recommendation.
- Parameters:
recommendationSources
- An array of objects that describe the source resource of the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationSources
An array of objects that describe the source resource of the recommendation.
- Parameters:
recommendationSources
- An array of objects that describe the source resource of the recommendation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recommendationSources
InstanceRecommendation.Builder recommendationSources(Consumer<RecommendationSource.Builder>... recommendationSources) An array of objects that describe the source resource of the recommendation.
This is a convenience method that creates an instance of theRecommendationSource.Builder
avoiding the need to create one manually viaRecommendationSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecommendationSources(List<RecommendationSource>)
.- Parameters:
recommendationSources
- a consumer that will call methods onRecommendationSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
lastRefreshTimestamp
The timestamp of when the instance recommendation was last generated.
- Parameters:
lastRefreshTimestamp
- The timestamp of when the instance recommendation was last generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentPerformanceRisk
The risk of the current instance not meeting the performance needs of its workloads. The higher the risk, the more likely the current instance cannot meet the performance requirements of its workload.
- Parameters:
currentPerformanceRisk
- The risk of the current instance not meeting the performance needs of its workloads. The higher the risk, the more likely the current instance cannot meet the performance requirements of its workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currentPerformanceRisk
InstanceRecommendation.Builder currentPerformanceRisk(CurrentPerformanceRisk currentPerformanceRisk) The risk of the current instance not meeting the performance needs of its workloads. The higher the risk, the more likely the current instance cannot meet the performance requirements of its workload.
- Parameters:
currentPerformanceRisk
- The risk of the current instance not meeting the performance needs of its workloads. The higher the risk, the more likely the current instance cannot meet the performance requirements of its workload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
effectiveRecommendationPreferences
InstanceRecommendation.Builder effectiveRecommendationPreferences(EffectiveRecommendationPreferences effectiveRecommendationPreferences) An object that describes the effective recommendation preferences for the instance.
- Parameters:
effectiveRecommendationPreferences
- An object that describes the effective recommendation preferences for the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
effectiveRecommendationPreferences
default InstanceRecommendation.Builder effectiveRecommendationPreferences(Consumer<EffectiveRecommendationPreferences.Builder> effectiveRecommendationPreferences) An object that describes the effective recommendation preferences for the instance.
This is a convenience method that creates an instance of theEffectiveRecommendationPreferences.Builder
avoiding the need to create one manually viaEffectiveRecommendationPreferences.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toeffectiveRecommendationPreferences(EffectiveRecommendationPreferences)
.- Parameters:
effectiveRecommendationPreferences
- a consumer that will call methods onEffectiveRecommendationPreferences.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
inferredWorkloadTypesWithStrings
InstanceRecommendation.Builder inferredWorkloadTypesWithStrings(Collection<String> inferredWorkloadTypes) The applications that might be running on the instance as inferred by Compute Optimizer.
Compute Optimizer can infer if one of the following applications might be running on the instance:
-
AmazonEmr
- Infers that Amazon EMR might be running on the instance. -
ApacheCassandra
- Infers that Apache Cassandra might be running on the instance. -
ApacheHadoop
- Infers that Apache Hadoop might be running on the instance. -
Memcached
- Infers that Memcached might be running on the instance. -
NGINX
- Infers that NGINX might be running on the instance. -
PostgreSql
- Infers that PostgreSQL might be running on the instance. -
Redis
- Infers that Redis might be running on the instance. -
Kafka
- Infers that Kafka might be running on the instance. -
SQLServer
- Infers that SQLServer might be running on the instance.
- Parameters:
inferredWorkloadTypes
- The applications that might be running on the instance as inferred by Compute Optimizer.Compute Optimizer can infer if one of the following applications might be running on the instance:
-
AmazonEmr
- Infers that Amazon EMR might be running on the instance. -
ApacheCassandra
- Infers that Apache Cassandra might be running on the instance. -
ApacheHadoop
- Infers that Apache Hadoop might be running on the instance. -
Memcached
- Infers that Memcached might be running on the instance. -
NGINX
- Infers that NGINX might be running on the instance. -
PostgreSql
- Infers that PostgreSQL might be running on the instance. -
Redis
- Infers that Redis might be running on the instance. -
Kafka
- Infers that Kafka might be running on the instance. -
SQLServer
- Infers that SQLServer might be running on the instance.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
inferredWorkloadTypesWithStrings
The applications that might be running on the instance as inferred by Compute Optimizer.
Compute Optimizer can infer if one of the following applications might be running on the instance:
-
AmazonEmr
- Infers that Amazon EMR might be running on the instance. -
ApacheCassandra
- Infers that Apache Cassandra might be running on the instance. -
ApacheHadoop
- Infers that Apache Hadoop might be running on the instance. -
Memcached
- Infers that Memcached might be running on the instance. -
NGINX
- Infers that NGINX might be running on the instance. -
PostgreSql
- Infers that PostgreSQL might be running on the instance. -
Redis
- Infers that Redis might be running on the instance. -
Kafka
- Infers that Kafka might be running on the instance. -
SQLServer
- Infers that SQLServer might be running on the instance.
- Parameters:
inferredWorkloadTypes
- The applications that might be running on the instance as inferred by Compute Optimizer.Compute Optimizer can infer if one of the following applications might be running on the instance:
-
AmazonEmr
- Infers that Amazon EMR might be running on the instance. -
ApacheCassandra
- Infers that Apache Cassandra might be running on the instance. -
ApacheHadoop
- Infers that Apache Hadoop might be running on the instance. -
Memcached
- Infers that Memcached might be running on the instance. -
NGINX
- Infers that NGINX might be running on the instance. -
PostgreSql
- Infers that PostgreSQL might be running on the instance. -
Redis
- Infers that Redis might be running on the instance. -
Kafka
- Infers that Kafka might be running on the instance. -
SQLServer
- Infers that SQLServer might be running on the instance.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
inferredWorkloadTypes
InstanceRecommendation.Builder inferredWorkloadTypes(Collection<InferredWorkloadType> inferredWorkloadTypes) The applications that might be running on the instance as inferred by Compute Optimizer.
Compute Optimizer can infer if one of the following applications might be running on the instance:
-
AmazonEmr
- Infers that Amazon EMR might be running on the instance. -
ApacheCassandra
- Infers that Apache Cassandra might be running on the instance. -
ApacheHadoop
- Infers that Apache Hadoop might be running on the instance. -
Memcached
- Infers that Memcached might be running on the instance. -
NGINX
- Infers that NGINX might be running on the instance. -
PostgreSql
- Infers that PostgreSQL might be running on the instance. -
Redis
- Infers that Redis might be running on the instance. -
Kafka
- Infers that Kafka might be running on the instance. -
SQLServer
- Infers that SQLServer might be running on the instance.
- Parameters:
inferredWorkloadTypes
- The applications that might be running on the instance as inferred by Compute Optimizer.Compute Optimizer can infer if one of the following applications might be running on the instance:
-
AmazonEmr
- Infers that Amazon EMR might be running on the instance. -
ApacheCassandra
- Infers that Apache Cassandra might be running on the instance. -
ApacheHadoop
- Infers that Apache Hadoop might be running on the instance. -
Memcached
- Infers that Memcached might be running on the instance. -
NGINX
- Infers that NGINX might be running on the instance. -
PostgreSql
- Infers that PostgreSQL might be running on the instance. -
Redis
- Infers that Redis might be running on the instance. -
Kafka
- Infers that Kafka might be running on the instance. -
SQLServer
- Infers that SQLServer might be running on the instance.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
inferredWorkloadTypes
The applications that might be running on the instance as inferred by Compute Optimizer.
Compute Optimizer can infer if one of the following applications might be running on the instance:
-
AmazonEmr
- Infers that Amazon EMR might be running on the instance. -
ApacheCassandra
- Infers that Apache Cassandra might be running on the instance. -
ApacheHadoop
- Infers that Apache Hadoop might be running on the instance. -
Memcached
- Infers that Memcached might be running on the instance. -
NGINX
- Infers that NGINX might be running on the instance. -
PostgreSql
- Infers that PostgreSQL might be running on the instance. -
Redis
- Infers that Redis might be running on the instance. -
Kafka
- Infers that Kafka might be running on the instance. -
SQLServer
- Infers that SQLServer might be running on the instance.
- Parameters:
inferredWorkloadTypes
- The applications that might be running on the instance as inferred by Compute Optimizer.Compute Optimizer can infer if one of the following applications might be running on the instance:
-
AmazonEmr
- Infers that Amazon EMR might be running on the instance. -
ApacheCassandra
- Infers that Apache Cassandra might be running on the instance. -
ApacheHadoop
- Infers that Apache Hadoop might be running on the instance. -
Memcached
- Infers that Memcached might be running on the instance. -
NGINX
- Infers that NGINX might be running on the instance. -
PostgreSql
- Infers that PostgreSQL might be running on the instance. -
Redis
- Infers that Redis might be running on the instance. -
Kafka
- Infers that Kafka might be running on the instance. -
SQLServer
- Infers that SQLServer might be running on the instance.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
instanceState
The state of the instance when the recommendation was generated.
- Parameters:
instanceState
- The state of the instance when the recommendation was generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
instanceState
The state of the instance when the recommendation was generated.
- Parameters:
instanceState
- The state of the instance when the recommendation was generated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
A list of tags assigned to your Amazon EC2 instance recommendations.
- Parameters:
tags
- A list of tags assigned to your Amazon EC2 instance recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags assigned to your Amazon EC2 instance recommendations.
- Parameters:
tags
- A list of tags assigned to your Amazon EC2 instance recommendations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags assigned to your Amazon EC2 instance recommendations.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed totags(List<Tag>)
.- Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
externalMetricStatus
An object that describes Compute Optimizer's integration status with your external metrics provider.
- Parameters:
externalMetricStatus
- An object that describes Compute Optimizer's integration status with your external metrics provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
externalMetricStatus
default InstanceRecommendation.Builder externalMetricStatus(Consumer<ExternalMetricStatus.Builder> externalMetricStatus) An object that describes Compute Optimizer's integration status with your external metrics provider.
This is a convenience method that creates an instance of theExternalMetricStatus.Builder
avoiding the need to create one manually viaExternalMetricStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toexternalMetricStatus(ExternalMetricStatus)
.- Parameters:
externalMetricStatus
- a consumer that will call methods onExternalMetricStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
currentInstanceGpuInfo
Describes the GPU accelerator settings for the current instance type.
- Parameters:
currentInstanceGpuInfo
- Describes the GPU accelerator settings for the current instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentInstanceGpuInfo
default InstanceRecommendation.Builder currentInstanceGpuInfo(Consumer<GpuInfo.Builder> currentInstanceGpuInfo) Describes the GPU accelerator settings for the current instance type.
This is a convenience method that creates an instance of theGpuInfo.Builder
avoiding the need to create one manually viaGpuInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocurrentInstanceGpuInfo(GpuInfo)
.- Parameters:
currentInstanceGpuInfo
- a consumer that will call methods onGpuInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
idle
Describes if an Amazon EC2 instance is idle.
- Parameters:
idle
- Describes if an Amazon EC2 instance is idle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
idle
Describes if an Amazon EC2 instance is idle.
- Parameters:
idle
- Describes if an Amazon EC2 instance is idle.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-