@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ECSServiceRecommendation extends Object implements Serializable, Cloneable, StructuredPojo
Describes an Amazon ECS service recommendation.
Constructor and Description |
---|
ECSServiceRecommendation() |
Modifier and Type | Method and Description |
---|---|
ECSServiceRecommendation |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account ID of the Amazon ECS service.
|
String |
getCurrentPerformanceRisk()
The risk of the current Amazon ECS service not meeting the performance needs of its workloads.
|
ServiceConfiguration |
getCurrentServiceConfiguration()
The configuration of the current Amazon ECS service.
|
String |
getFinding()
The finding classification of an Amazon ECS service.
|
List<String> |
getFindingReasonCodes()
The reason for the finding classification of an Amazon ECS service.
|
Date |
getLastRefreshTimestamp()
The timestamp of when the Amazon ECS service recommendation was last generated.
|
String |
getLaunchType()
The launch type the Amazon ECS service is using.
|
Double |
getLookbackPeriodInDays()
The number of days the Amazon ECS service utilization metrics were analyzed.
|
String |
getServiceArn()
The Amazon Resource Name (ARN) of the current Amazon ECS service.
|
List<ECSServiceRecommendationOption> |
getServiceRecommendationOptions()
An array of objects that describe the recommendation options for the Amazon ECS service.
|
List<Tag> |
getTags()
A list of tags assigned to your Amazon ECS service recommendations.
|
List<ECSServiceUtilizationMetric> |
getUtilizationMetrics()
An array of objects that describe the utilization metrics of the Amazon ECS service.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAccountId(String accountId)
The Amazon Web Services account ID of the Amazon ECS service.
|
void |
setCurrentPerformanceRisk(String currentPerformanceRisk)
The risk of the current Amazon ECS service not meeting the performance needs of its workloads.
|
void |
setCurrentServiceConfiguration(ServiceConfiguration currentServiceConfiguration)
The configuration of the current Amazon ECS service.
|
void |
setFinding(String finding)
The finding classification of an Amazon ECS service.
|
void |
setFindingReasonCodes(Collection<String> findingReasonCodes)
The reason for the finding classification of an Amazon ECS service.
|
void |
setLastRefreshTimestamp(Date lastRefreshTimestamp)
The timestamp of when the Amazon ECS service recommendation was last generated.
|
void |
setLaunchType(String launchType)
The launch type the Amazon ECS service is using.
|
void |
setLookbackPeriodInDays(Double lookbackPeriodInDays)
The number of days the Amazon ECS service utilization metrics were analyzed.
|
void |
setServiceArn(String serviceArn)
The Amazon Resource Name (ARN) of the current Amazon ECS service.
|
void |
setServiceRecommendationOptions(Collection<ECSServiceRecommendationOption> serviceRecommendationOptions)
An array of objects that describe the recommendation options for the Amazon ECS service.
|
void |
setTags(Collection<Tag> tags)
A list of tags assigned to your Amazon ECS service recommendations.
|
void |
setUtilizationMetrics(Collection<ECSServiceUtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the Amazon ECS service.
|
String |
toString()
Returns a string representation of this object.
|
ECSServiceRecommendation |
withAccountId(String accountId)
The Amazon Web Services account ID of the Amazon ECS service.
|
ECSServiceRecommendation |
withCurrentPerformanceRisk(CurrentPerformanceRisk currentPerformanceRisk)
The risk of the current Amazon ECS service not meeting the performance needs of its workloads.
|
ECSServiceRecommendation |
withCurrentPerformanceRisk(String currentPerformanceRisk)
The risk of the current Amazon ECS service not meeting the performance needs of its workloads.
|
ECSServiceRecommendation |
withCurrentServiceConfiguration(ServiceConfiguration currentServiceConfiguration)
The configuration of the current Amazon ECS service.
|
ECSServiceRecommendation |
withFinding(ECSServiceRecommendationFinding finding)
The finding classification of an Amazon ECS service.
|
ECSServiceRecommendation |
withFinding(String finding)
The finding classification of an Amazon ECS service.
|
ECSServiceRecommendation |
withFindingReasonCodes(Collection<String> findingReasonCodes)
The reason for the finding classification of an Amazon ECS service.
|
ECSServiceRecommendation |
withFindingReasonCodes(ECSServiceRecommendationFindingReasonCode... findingReasonCodes)
The reason for the finding classification of an Amazon ECS service.
|
ECSServiceRecommendation |
withFindingReasonCodes(String... findingReasonCodes)
The reason for the finding classification of an Amazon ECS service.
|
ECSServiceRecommendation |
withLastRefreshTimestamp(Date lastRefreshTimestamp)
The timestamp of when the Amazon ECS service recommendation was last generated.
|
ECSServiceRecommendation |
withLaunchType(ECSServiceLaunchType launchType)
The launch type the Amazon ECS service is using.
|
ECSServiceRecommendation |
withLaunchType(String launchType)
The launch type the Amazon ECS service is using.
|
ECSServiceRecommendation |
withLookbackPeriodInDays(Double lookbackPeriodInDays)
The number of days the Amazon ECS service utilization metrics were analyzed.
|
ECSServiceRecommendation |
withServiceArn(String serviceArn)
The Amazon Resource Name (ARN) of the current Amazon ECS service.
|
ECSServiceRecommendation |
withServiceRecommendationOptions(Collection<ECSServiceRecommendationOption> serviceRecommendationOptions)
An array of objects that describe the recommendation options for the Amazon ECS service.
|
ECSServiceRecommendation |
withServiceRecommendationOptions(ECSServiceRecommendationOption... serviceRecommendationOptions)
An array of objects that describe the recommendation options for the Amazon ECS service.
|
ECSServiceRecommendation |
withTags(Collection<Tag> tags)
A list of tags assigned to your Amazon ECS service recommendations.
|
ECSServiceRecommendation |
withTags(Tag... tags)
A list of tags assigned to your Amazon ECS service recommendations.
|
ECSServiceRecommendation |
withUtilizationMetrics(Collection<ECSServiceUtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the Amazon ECS service.
|
ECSServiceRecommendation |
withUtilizationMetrics(ECSServiceUtilizationMetric... utilizationMetrics)
An array of objects that describe the utilization metrics of the Amazon ECS service.
|
public void setServiceArn(String serviceArn)
The Amazon Resource Name (ARN) of the current Amazon ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
serviceArn
- The Amazon Resource Name (ARN) of the current Amazon ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
public String getServiceArn()
The Amazon Resource Name (ARN) of the current Amazon ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
public ECSServiceRecommendation withServiceArn(String serviceArn)
The Amazon Resource Name (ARN) of the current Amazon ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
serviceArn
- The Amazon Resource Name (ARN) of the current Amazon ECS service.
The following is the format of the ARN:
arn:aws:ecs:region:aws_account_id:service/cluster-name/service-name
public void setAccountId(String accountId)
The Amazon Web Services account ID of the Amazon ECS service.
accountId
- The Amazon Web Services account ID of the Amazon ECS service.public String getAccountId()
The Amazon Web Services account ID of the Amazon ECS service.
public ECSServiceRecommendation withAccountId(String accountId)
The Amazon Web Services account ID of the Amazon ECS service.
accountId
- The Amazon Web Services account ID of the Amazon ECS service.public void setCurrentServiceConfiguration(ServiceConfiguration currentServiceConfiguration)
The configuration of the current Amazon ECS service.
currentServiceConfiguration
- The configuration of the current Amazon ECS service.public ServiceConfiguration getCurrentServiceConfiguration()
The configuration of the current Amazon ECS service.
public ECSServiceRecommendation withCurrentServiceConfiguration(ServiceConfiguration currentServiceConfiguration)
The configuration of the current Amazon ECS service.
currentServiceConfiguration
- The configuration of the current Amazon ECS service.public List<ECSServiceUtilizationMetric> getUtilizationMetrics()
An array of objects that describe the utilization metrics of the Amazon ECS service.
public void setUtilizationMetrics(Collection<ECSServiceUtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the Amazon ECS service.
utilizationMetrics
- An array of objects that describe the utilization metrics of the Amazon ECS service.public ECSServiceRecommendation withUtilizationMetrics(ECSServiceUtilizationMetric... utilizationMetrics)
An array of objects that describe the utilization metrics of the Amazon ECS service.
NOTE: This method appends the values to the existing list (if any). Use
setUtilizationMetrics(java.util.Collection)
or withUtilizationMetrics(java.util.Collection)
if
you want to override the existing values.
utilizationMetrics
- An array of objects that describe the utilization metrics of the Amazon ECS service.public ECSServiceRecommendation withUtilizationMetrics(Collection<ECSServiceUtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the Amazon ECS service.
utilizationMetrics
- An array of objects that describe the utilization metrics of the Amazon ECS service.public void setLookbackPeriodInDays(Double lookbackPeriodInDays)
The number of days the Amazon ECS service utilization metrics were analyzed.
lookbackPeriodInDays
- The number of days the Amazon ECS service utilization metrics were analyzed.public Double getLookbackPeriodInDays()
The number of days the Amazon ECS service utilization metrics were analyzed.
public ECSServiceRecommendation withLookbackPeriodInDays(Double lookbackPeriodInDays)
The number of days the Amazon ECS service utilization metrics were analyzed.
lookbackPeriodInDays
- The number of days the Amazon ECS service utilization metrics were analyzed.public void setLaunchType(String launchType)
The launch type the Amazon ECS service is using.
Compute Optimizer only supports the Fargate launch type.
launchType
- The launch type the Amazon ECS service is using. Compute Optimizer only supports the Fargate launch type.
ECSServiceLaunchType
public String getLaunchType()
The launch type the Amazon ECS service is using.
Compute Optimizer only supports the Fargate launch type.
Compute Optimizer only supports the Fargate launch type.
ECSServiceLaunchType
public ECSServiceRecommendation withLaunchType(String launchType)
The launch type the Amazon ECS service is using.
Compute Optimizer only supports the Fargate launch type.
launchType
- The launch type the Amazon ECS service is using. Compute Optimizer only supports the Fargate launch type.
ECSServiceLaunchType
public ECSServiceRecommendation withLaunchType(ECSServiceLaunchType launchType)
The launch type the Amazon ECS service is using.
Compute Optimizer only supports the Fargate launch type.
launchType
- The launch type the Amazon ECS service is using. Compute Optimizer only supports the Fargate launch type.
ECSServiceLaunchType
public void setLastRefreshTimestamp(Date lastRefreshTimestamp)
The timestamp of when the Amazon ECS service recommendation was last generated.
lastRefreshTimestamp
- The timestamp of when the Amazon ECS service recommendation was last generated.public Date getLastRefreshTimestamp()
The timestamp of when the Amazon ECS service recommendation was last generated.
public ECSServiceRecommendation withLastRefreshTimestamp(Date lastRefreshTimestamp)
The timestamp of when the Amazon ECS service recommendation was last generated.
lastRefreshTimestamp
- The timestamp of when the Amazon ECS service recommendation was last generated.public void setFinding(String finding)
The finding classification of an Amazon ECS service.
Findings for Amazon ECS services include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough memory or CPU, an
Amazon ECS service is considered under-provisioned. An under-provisioned service might result in poor application
performance.
Overprovisioned
— When Compute Optimizer detects that there’s excessive memory or CPU, an
Amazon ECS service is considered over-provisioned. An over-provisioned service might result in additional
infrastructure costs.
Optimized
— When both the CPU and memory of your Amazon ECS service meet the performance
requirements of your workload, the service is considered optimized.
finding
- The finding classification of an Amazon ECS service.
Findings for Amazon ECS services include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough memory or
CPU, an Amazon ECS service is considered under-provisioned. An under-provisioned service might result in
poor application performance.
Overprovisioned
— When Compute Optimizer detects that there’s excessive memory or
CPU, an Amazon ECS service is considered over-provisioned. An over-provisioned service might result in
additional infrastructure costs.
Optimized
— When both the CPU and memory of your Amazon ECS service meet the
performance requirements of your workload, the service is considered optimized.
ECSServiceRecommendationFinding
public String getFinding()
The finding classification of an Amazon ECS service.
Findings for Amazon ECS services include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough memory or CPU, an
Amazon ECS service is considered under-provisioned. An under-provisioned service might result in poor application
performance.
Overprovisioned
— When Compute Optimizer detects that there’s excessive memory or CPU, an
Amazon ECS service is considered over-provisioned. An over-provisioned service might result in additional
infrastructure costs.
Optimized
— When both the CPU and memory of your Amazon ECS service meet the performance
requirements of your workload, the service is considered optimized.
Findings for Amazon ECS services include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough memory or
CPU, an Amazon ECS service is considered under-provisioned. An under-provisioned service might result in
poor application performance.
Overprovisioned
— When Compute Optimizer detects that there’s excessive memory or
CPU, an Amazon ECS service is considered over-provisioned. An over-provisioned service might result in
additional infrastructure costs.
Optimized
— When both the CPU and memory of your Amazon ECS service meet the
performance requirements of your workload, the service is considered optimized.
ECSServiceRecommendationFinding
public ECSServiceRecommendation withFinding(String finding)
The finding classification of an Amazon ECS service.
Findings for Amazon ECS services include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough memory or CPU, an
Amazon ECS service is considered under-provisioned. An under-provisioned service might result in poor application
performance.
Overprovisioned
— When Compute Optimizer detects that there’s excessive memory or CPU, an
Amazon ECS service is considered over-provisioned. An over-provisioned service might result in additional
infrastructure costs.
Optimized
— When both the CPU and memory of your Amazon ECS service meet the performance
requirements of your workload, the service is considered optimized.
finding
- The finding classification of an Amazon ECS service.
Findings for Amazon ECS services include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough memory or
CPU, an Amazon ECS service is considered under-provisioned. An under-provisioned service might result in
poor application performance.
Overprovisioned
— When Compute Optimizer detects that there’s excessive memory or
CPU, an Amazon ECS service is considered over-provisioned. An over-provisioned service might result in
additional infrastructure costs.
Optimized
— When both the CPU and memory of your Amazon ECS service meet the
performance requirements of your workload, the service is considered optimized.
ECSServiceRecommendationFinding
public ECSServiceRecommendation withFinding(ECSServiceRecommendationFinding finding)
The finding classification of an Amazon ECS service.
Findings for Amazon ECS services include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough memory or CPU, an
Amazon ECS service is considered under-provisioned. An under-provisioned service might result in poor application
performance.
Overprovisioned
— When Compute Optimizer detects that there’s excessive memory or CPU, an
Amazon ECS service is considered over-provisioned. An over-provisioned service might result in additional
infrastructure costs.
Optimized
— When both the CPU and memory of your Amazon ECS service meet the performance
requirements of your workload, the service is considered optimized.
finding
- The finding classification of an Amazon ECS service.
Findings for Amazon ECS services include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough memory or
CPU, an Amazon ECS service is considered under-provisioned. An under-provisioned service might result in
poor application performance.
Overprovisioned
— When Compute Optimizer detects that there’s excessive memory or
CPU, an Amazon ECS service is considered over-provisioned. An over-provisioned service might result in
additional infrastructure costs.
Optimized
— When both the CPU and memory of your Amazon ECS service meet the
performance requirements of your workload, the service is considered optimized.
ECSServiceRecommendationFinding
public List<String> getFindingReasonCodes()
The reason for the finding classification of an Amazon ECS service.
Finding reason codes for Amazon ECS services include:
CPUUnderprovisioned
— The service CPU configuration can be sized up to enhance the
performance of your workload. This is identified by analyzing the CPUUtilization
metric of the
current service during the look-back period.
CPUOverprovisioned
— The service 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 service during the look-back period.
MemoryUnderprovisioned
— The service memory configuration can be sized up to enhance the
performance of your workload. This is identified by analyzing the MemoryUtilization
metric of the
current service during the look-back period.
MemoryOverprovisioned
— The service memory configuration can be sized down while still
meeting the performance requirements of your workload. This is identified by analyzing the
MemoryUtilization
metric of the current service during the look-back period.
Finding reason codes for Amazon ECS services include:
CPUUnderprovisioned
— The service CPU configuration can be sized up to enhance the
performance of your workload. This is identified by analyzing the CPUUtilization
metric of
the current service during the look-back period.
CPUOverprovisioned
— The service 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 service during the look-back period.
MemoryUnderprovisioned
— The service memory configuration can be sized up to
enhance the performance of your workload. This is identified by analyzing the
MemoryUtilization
metric of the current service during the look-back period.
MemoryOverprovisioned
— The service memory configuration can be sized down while
still meeting the performance requirements of your workload. This is identified by analyzing the
MemoryUtilization
metric of the current service during the look-back period.
ECSServiceRecommendationFindingReasonCode
public void setFindingReasonCodes(Collection<String> findingReasonCodes)
The reason for the finding classification of an Amazon ECS service.
Finding reason codes for Amazon ECS services include:
CPUUnderprovisioned
— The service CPU configuration can be sized up to enhance the
performance of your workload. This is identified by analyzing the CPUUtilization
metric of the
current service during the look-back period.
CPUOverprovisioned
— The service 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 service during the look-back period.
MemoryUnderprovisioned
— The service memory configuration can be sized up to enhance the
performance of your workload. This is identified by analyzing the MemoryUtilization
metric of the
current service during the look-back period.
MemoryOverprovisioned
— The service memory configuration can be sized down while still
meeting the performance requirements of your workload. This is identified by analyzing the
MemoryUtilization
metric of the current service during the look-back period.
findingReasonCodes
- The reason for the finding classification of an Amazon ECS service.
Finding reason codes for Amazon ECS services include:
CPUUnderprovisioned
— The service CPU configuration can be sized up to enhance the
performance of your workload. This is identified by analyzing the CPUUtilization
metric of
the current service during the look-back period.
CPUOverprovisioned
— The service 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 service during the look-back period.
MemoryUnderprovisioned
— The service memory configuration can be sized up to enhance
the performance of your workload. This is identified by analyzing the MemoryUtilization
metric of the current service during the look-back period.
MemoryOverprovisioned
— The service memory configuration can be sized down while
still meeting the performance requirements of your workload. This is identified by analyzing the
MemoryUtilization
metric of the current service during the look-back period.
ECSServiceRecommendationFindingReasonCode
public ECSServiceRecommendation withFindingReasonCodes(String... findingReasonCodes)
The reason for the finding classification of an Amazon ECS service.
Finding reason codes for Amazon ECS services include:
CPUUnderprovisioned
— The service CPU configuration can be sized up to enhance the
performance of your workload. This is identified by analyzing the CPUUtilization
metric of the
current service during the look-back period.
CPUOverprovisioned
— The service 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 service during the look-back period.
MemoryUnderprovisioned
— The service memory configuration can be sized up to enhance the
performance of your workload. This is identified by analyzing the MemoryUtilization
metric of the
current service during the look-back period.
MemoryOverprovisioned
— The service memory configuration can be sized down while still
meeting the performance requirements of your workload. This is identified by analyzing the
MemoryUtilization
metric of the current service during the look-back period.
NOTE: This method appends the values to the existing list (if any). Use
setFindingReasonCodes(java.util.Collection)
or withFindingReasonCodes(java.util.Collection)
if
you want to override the existing values.
findingReasonCodes
- The reason for the finding classification of an Amazon ECS service.
Finding reason codes for Amazon ECS services include:
CPUUnderprovisioned
— The service CPU configuration can be sized up to enhance the
performance of your workload. This is identified by analyzing the CPUUtilization
metric of
the current service during the look-back period.
CPUOverprovisioned
— The service 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 service during the look-back period.
MemoryUnderprovisioned
— The service memory configuration can be sized up to enhance
the performance of your workload. This is identified by analyzing the MemoryUtilization
metric of the current service during the look-back period.
MemoryOverprovisioned
— The service memory configuration can be sized down while
still meeting the performance requirements of your workload. This is identified by analyzing the
MemoryUtilization
metric of the current service during the look-back period.
ECSServiceRecommendationFindingReasonCode
public ECSServiceRecommendation withFindingReasonCodes(Collection<String> findingReasonCodes)
The reason for the finding classification of an Amazon ECS service.
Finding reason codes for Amazon ECS services include:
CPUUnderprovisioned
— The service CPU configuration can be sized up to enhance the
performance of your workload. This is identified by analyzing the CPUUtilization
metric of the
current service during the look-back period.
CPUOverprovisioned
— The service 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 service during the look-back period.
MemoryUnderprovisioned
— The service memory configuration can be sized up to enhance the
performance of your workload. This is identified by analyzing the MemoryUtilization
metric of the
current service during the look-back period.
MemoryOverprovisioned
— The service memory configuration can be sized down while still
meeting the performance requirements of your workload. This is identified by analyzing the
MemoryUtilization
metric of the current service during the look-back period.
findingReasonCodes
- The reason for the finding classification of an Amazon ECS service.
Finding reason codes for Amazon ECS services include:
CPUUnderprovisioned
— The service CPU configuration can be sized up to enhance the
performance of your workload. This is identified by analyzing the CPUUtilization
metric of
the current service during the look-back period.
CPUOverprovisioned
— The service 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 service during the look-back period.
MemoryUnderprovisioned
— The service memory configuration can be sized up to enhance
the performance of your workload. This is identified by analyzing the MemoryUtilization
metric of the current service during the look-back period.
MemoryOverprovisioned
— The service memory configuration can be sized down while
still meeting the performance requirements of your workload. This is identified by analyzing the
MemoryUtilization
metric of the current service during the look-back period.
ECSServiceRecommendationFindingReasonCode
public ECSServiceRecommendation withFindingReasonCodes(ECSServiceRecommendationFindingReasonCode... findingReasonCodes)
The reason for the finding classification of an Amazon ECS service.
Finding reason codes for Amazon ECS services include:
CPUUnderprovisioned
— The service CPU configuration can be sized up to enhance the
performance of your workload. This is identified by analyzing the CPUUtilization
metric of the
current service during the look-back period.
CPUOverprovisioned
— The service 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 service during the look-back period.
MemoryUnderprovisioned
— The service memory configuration can be sized up to enhance the
performance of your workload. This is identified by analyzing the MemoryUtilization
metric of the
current service during the look-back period.
MemoryOverprovisioned
— The service memory configuration can be sized down while still
meeting the performance requirements of your workload. This is identified by analyzing the
MemoryUtilization
metric of the current service during the look-back period.
findingReasonCodes
- The reason for the finding classification of an Amazon ECS service.
Finding reason codes for Amazon ECS services include:
CPUUnderprovisioned
— The service CPU configuration can be sized up to enhance the
performance of your workload. This is identified by analyzing the CPUUtilization
metric of
the current service during the look-back period.
CPUOverprovisioned
— The service 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 service during the look-back period.
MemoryUnderprovisioned
— The service memory configuration can be sized up to enhance
the performance of your workload. This is identified by analyzing the MemoryUtilization
metric of the current service during the look-back period.
MemoryOverprovisioned
— The service memory configuration can be sized down while
still meeting the performance requirements of your workload. This is identified by analyzing the
MemoryUtilization
metric of the current service during the look-back period.
ECSServiceRecommendationFindingReasonCode
public List<ECSServiceRecommendationOption> getServiceRecommendationOptions()
An array of objects that describe the recommendation options for the Amazon ECS service.
public void setServiceRecommendationOptions(Collection<ECSServiceRecommendationOption> serviceRecommendationOptions)
An array of objects that describe the recommendation options for the Amazon ECS service.
serviceRecommendationOptions
- An array of objects that describe the recommendation options for the Amazon ECS service.public ECSServiceRecommendation withServiceRecommendationOptions(ECSServiceRecommendationOption... serviceRecommendationOptions)
An array of objects that describe the recommendation options for the Amazon ECS service.
NOTE: This method appends the values to the existing list (if any). Use
setServiceRecommendationOptions(java.util.Collection)
or
withServiceRecommendationOptions(java.util.Collection)
if you want to override the existing values.
serviceRecommendationOptions
- An array of objects that describe the recommendation options for the Amazon ECS service.public ECSServiceRecommendation withServiceRecommendationOptions(Collection<ECSServiceRecommendationOption> serviceRecommendationOptions)
An array of objects that describe the recommendation options for the Amazon ECS service.
serviceRecommendationOptions
- An array of objects that describe the recommendation options for the Amazon ECS service.public void setCurrentPerformanceRisk(String currentPerformanceRisk)
The risk of the current Amazon ECS service not meeting the performance needs of its workloads. The higher the risk, the more likely the current service can't meet the performance requirements of its workload.
currentPerformanceRisk
- The risk of the current Amazon ECS service not meeting the performance needs of its workloads. The higher
the risk, the more likely the current service can't meet the performance requirements of its workload.CurrentPerformanceRisk
public String getCurrentPerformanceRisk()
The risk of the current Amazon ECS service not meeting the performance needs of its workloads. The higher the risk, the more likely the current service can't meet the performance requirements of its workload.
CurrentPerformanceRisk
public ECSServiceRecommendation withCurrentPerformanceRisk(String currentPerformanceRisk)
The risk of the current Amazon ECS service not meeting the performance needs of its workloads. The higher the risk, the more likely the current service can't meet the performance requirements of its workload.
currentPerformanceRisk
- The risk of the current Amazon ECS service not meeting the performance needs of its workloads. The higher
the risk, the more likely the current service can't meet the performance requirements of its workload.CurrentPerformanceRisk
public ECSServiceRecommendation withCurrentPerformanceRisk(CurrentPerformanceRisk currentPerformanceRisk)
The risk of the current Amazon ECS service not meeting the performance needs of its workloads. The higher the risk, the more likely the current service can't meet the performance requirements of its workload.
currentPerformanceRisk
- The risk of the current Amazon ECS service not meeting the performance needs of its workloads. The higher
the risk, the more likely the current service can't meet the performance requirements of its workload.CurrentPerformanceRisk
public List<Tag> getTags()
A list of tags assigned to your Amazon ECS service recommendations.
public void setTags(Collection<Tag> tags)
A list of tags assigned to your Amazon ECS service recommendations.
tags
- A list of tags assigned to your Amazon ECS service recommendations.public ECSServiceRecommendation withTags(Tag... tags)
A list of tags assigned to your Amazon ECS service recommendations.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tags assigned to your Amazon ECS service recommendations.public ECSServiceRecommendation withTags(Collection<Tag> tags)
A list of tags assigned to your Amazon ECS service recommendations.
tags
- A list of tags assigned to your Amazon ECS service recommendations.public String toString()
toString
in class Object
Object.toString()
public ECSServiceRecommendation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.