@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoScalingGroupRecommendationOption extends Object implements Serializable, Cloneable, StructuredPojo
Describes a recommendation option for an Auto Scaling group.
Constructor and Description |
---|
AutoScalingGroupRecommendationOption() |
Modifier and Type | Method and Description |
---|---|
AutoScalingGroupRecommendationOption |
clone() |
boolean |
equals(Object obj) |
AutoScalingGroupConfiguration |
getConfiguration()
An array of objects that describe an Auto Scaling group configuration.
|
GpuInfo |
getInstanceGpuInfo()
Describes the GPU accelerator settings for the recommended instance type of the Auto Scaling group.
|
String |
getMigrationEffort()
The level of effort required to migrate from the current instance type to the recommended instance type.
|
Double |
getPerformanceRisk()
The performance risk of the Auto Scaling group configuration recommendation.
|
List<UtilizationMetric> |
getProjectedUtilizationMetrics()
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation
option.
|
Integer |
getRank()
The rank of the Auto Scaling group recommendation option.
|
SavingsOpportunity |
getSavingsOpportunity()
An object that describes the savings opportunity for the Auto Scaling group recommendation option.
|
AutoScalingGroupSavingsOpportunityAfterDiscounts |
getSavingsOpportunityAfterDiscounts()
An object that describes the savings opportunity for the Auto Scaling group recommendation option that includes
Savings Plans and Reserved Instances discounts.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfiguration(AutoScalingGroupConfiguration configuration)
An array of objects that describe an Auto Scaling group configuration.
|
void |
setInstanceGpuInfo(GpuInfo instanceGpuInfo)
Describes the GPU accelerator settings for the recommended instance type of the Auto Scaling group.
|
void |
setMigrationEffort(String migrationEffort)
The level of effort required to migrate from the current instance type to the recommended instance type.
|
void |
setPerformanceRisk(Double performanceRisk)
The performance risk of the Auto Scaling group configuration recommendation.
|
void |
setProjectedUtilizationMetrics(Collection<UtilizationMetric> projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation
option.
|
void |
setRank(Integer rank)
The rank of the Auto Scaling group recommendation option.
|
void |
setSavingsOpportunity(SavingsOpportunity savingsOpportunity)
An object that describes the savings opportunity for the Auto Scaling group recommendation option.
|
void |
setSavingsOpportunityAfterDiscounts(AutoScalingGroupSavingsOpportunityAfterDiscounts savingsOpportunityAfterDiscounts)
An object that describes the savings opportunity for the Auto Scaling group recommendation option that includes
Savings Plans and Reserved Instances discounts.
|
String |
toString()
Returns a string representation of this object.
|
AutoScalingGroupRecommendationOption |
withConfiguration(AutoScalingGroupConfiguration configuration)
An array of objects that describe an Auto Scaling group configuration.
|
AutoScalingGroupRecommendationOption |
withInstanceGpuInfo(GpuInfo instanceGpuInfo)
Describes the GPU accelerator settings for the recommended instance type of the Auto Scaling group.
|
AutoScalingGroupRecommendationOption |
withMigrationEffort(MigrationEffort migrationEffort)
The level of effort required to migrate from the current instance type to the recommended instance type.
|
AutoScalingGroupRecommendationOption |
withMigrationEffort(String migrationEffort)
The level of effort required to migrate from the current instance type to the recommended instance type.
|
AutoScalingGroupRecommendationOption |
withPerformanceRisk(Double performanceRisk)
The performance risk of the Auto Scaling group configuration recommendation.
|
AutoScalingGroupRecommendationOption |
withProjectedUtilizationMetrics(Collection<UtilizationMetric> projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation
option.
|
AutoScalingGroupRecommendationOption |
withProjectedUtilizationMetrics(UtilizationMetric... projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation
option.
|
AutoScalingGroupRecommendationOption |
withRank(Integer rank)
The rank of the Auto Scaling group recommendation option.
|
AutoScalingGroupRecommendationOption |
withSavingsOpportunity(SavingsOpportunity savingsOpportunity)
An object that describes the savings opportunity for the Auto Scaling group recommendation option.
|
AutoScalingGroupRecommendationOption |
withSavingsOpportunityAfterDiscounts(AutoScalingGroupSavingsOpportunityAfterDiscounts savingsOpportunityAfterDiscounts)
An object that describes the savings opportunity for the Auto Scaling group recommendation option that includes
Savings Plans and Reserved Instances discounts.
|
public AutoScalingGroupRecommendationOption()
public void setConfiguration(AutoScalingGroupConfiguration configuration)
An array of objects that describe an Auto Scaling group configuration.
configuration
- An array of objects that describe an Auto Scaling group configuration.public AutoScalingGroupConfiguration getConfiguration()
An array of objects that describe an Auto Scaling group configuration.
public AutoScalingGroupRecommendationOption withConfiguration(AutoScalingGroupConfiguration configuration)
An array of objects that describe an Auto Scaling group configuration.
configuration
- An array of objects that describe an Auto Scaling group configuration.public void setInstanceGpuInfo(GpuInfo instanceGpuInfo)
Describes the GPU accelerator settings for the recommended instance type of the Auto Scaling group.
instanceGpuInfo
- Describes the GPU accelerator settings for the recommended instance type of the Auto Scaling group.public GpuInfo getInstanceGpuInfo()
Describes the GPU accelerator settings for the recommended instance type of the Auto Scaling group.
public AutoScalingGroupRecommendationOption withInstanceGpuInfo(GpuInfo instanceGpuInfo)
Describes the GPU accelerator settings for the recommended instance type of the Auto Scaling group.
instanceGpuInfo
- Describes the GPU accelerator settings for the recommended instance type of the Auto Scaling group.public List<UtilizationMetric> getProjectedUtilizationMetrics()
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.
The Cpu
and Memory
metrics are the only projected utilization metrics returned.
Additionally, the Memory
metric is returned only for resources that have the unified CloudWatch
agent installed on them. For more information, see Enabling Memory Utilization
with the CloudWatch Agent.
The Cpu
and Memory
metrics are the only projected utilization metrics returned.
Additionally, the Memory
metric is returned only for resources that have the unified
CloudWatch agent installed on them. For more information, see Enabling Memory
Utilization with the CloudWatch Agent.
public void setProjectedUtilizationMetrics(Collection<UtilizationMetric> projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.
The Cpu
and Memory
metrics are the only projected utilization metrics returned.
Additionally, the Memory
metric is returned only for resources that have the unified CloudWatch
agent installed on them. For more information, see Enabling Memory Utilization
with the CloudWatch Agent.
projectedUtilizationMetrics
- An array of objects that describe the projected utilization metrics of the Auto Scaling group
recommendation option.
The Cpu
and Memory
metrics are the only projected utilization metrics returned.
Additionally, the Memory
metric is returned only for resources that have the unified
CloudWatch agent installed on them. For more information, see Enabling Memory
Utilization with the CloudWatch Agent.
public AutoScalingGroupRecommendationOption withProjectedUtilizationMetrics(UtilizationMetric... projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.
The Cpu
and Memory
metrics are the only projected utilization metrics returned.
Additionally, the Memory
metric is returned only for resources that have the unified CloudWatch
agent installed on them. For more information, see Enabling Memory Utilization
with the CloudWatch Agent.
NOTE: This method appends the values to the existing list (if any). Use
setProjectedUtilizationMetrics(java.util.Collection)
or
withProjectedUtilizationMetrics(java.util.Collection)
if you want to override the existing values.
projectedUtilizationMetrics
- An array of objects that describe the projected utilization metrics of the Auto Scaling group
recommendation option.
The Cpu
and Memory
metrics are the only projected utilization metrics returned.
Additionally, the Memory
metric is returned only for resources that have the unified
CloudWatch agent installed on them. For more information, see Enabling Memory
Utilization with the CloudWatch Agent.
public AutoScalingGroupRecommendationOption withProjectedUtilizationMetrics(Collection<UtilizationMetric> projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.
The Cpu
and Memory
metrics are the only projected utilization metrics returned.
Additionally, the Memory
metric is returned only for resources that have the unified CloudWatch
agent installed on them. For more information, see Enabling Memory Utilization
with the CloudWatch Agent.
projectedUtilizationMetrics
- An array of objects that describe the projected utilization metrics of the Auto Scaling group
recommendation option.
The Cpu
and Memory
metrics are the only projected utilization metrics returned.
Additionally, the Memory
metric is returned only for resources that have the unified
CloudWatch agent installed on them. For more information, see Enabling Memory
Utilization with the CloudWatch Agent.
public void setPerformanceRisk(Double performanceRisk)
The performance risk of the Auto Scaling group configuration recommendation.
Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.
The value ranges from 0
- 4
, with 0
meaning that the recommended resource
is predicted to always provide enough hardware capability. The higher the performance risk is, the more likely
you should validate whether the recommendation will meet the performance requirements of your workload before
migrating your resource.
performanceRisk
- The performance risk of the Auto Scaling group configuration recommendation.
Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.
The value ranges from 0
- 4
, with 0
meaning that the recommended
resource is predicted to always provide enough hardware capability. The higher the performance risk is,
the more likely you should validate whether the recommendation will meet the performance requirements of
your workload before migrating your resource.
public Double getPerformanceRisk()
The performance risk of the Auto Scaling group configuration recommendation.
Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.
The value ranges from 0
- 4
, with 0
meaning that the recommended resource
is predicted to always provide enough hardware capability. The higher the performance risk is, the more likely
you should validate whether the recommendation will meet the performance requirements of your workload before
migrating your resource.
Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.
The value ranges from 0
- 4
, with 0
meaning that the recommended
resource is predicted to always provide enough hardware capability. The higher the performance risk is,
the more likely you should validate whether the recommendation will meet the performance requirements of
your workload before migrating your resource.
public AutoScalingGroupRecommendationOption withPerformanceRisk(Double performanceRisk)
The performance risk of the Auto Scaling group configuration recommendation.
Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.
The value ranges from 0
- 4
, with 0
meaning that the recommended resource
is predicted to always provide enough hardware capability. The higher the performance risk is, the more likely
you should validate whether the recommendation will meet the performance requirements of your workload before
migrating your resource.
performanceRisk
- The performance risk of the Auto Scaling group configuration recommendation.
Performance risk indicates the likelihood of the recommended instance type not meeting the resource needs of your workload. Compute Optimizer calculates an individual performance risk score for each specification of the recommended instance, including CPU, memory, EBS throughput, EBS IOPS, disk throughput, disk IOPS, network throughput, and network PPS. The performance risk of the recommended instance is calculated as the maximum performance risk score across the analyzed resource specifications.
The value ranges from 0
- 4
, with 0
meaning that the recommended
resource is predicted to always provide enough hardware capability. The higher the performance risk is,
the more likely you should validate whether the recommendation will meet the performance requirements of
your workload before migrating your resource.
public void setRank(Integer rank)
The rank of the Auto Scaling group recommendation option.
The top recommendation option is ranked as 1
.
rank
- The rank of the Auto Scaling group recommendation option.
The top recommendation option is ranked as 1
.
public Integer getRank()
The rank of the Auto Scaling group recommendation option.
The top recommendation option is ranked as 1
.
The top recommendation option is ranked as 1
.
public AutoScalingGroupRecommendationOption withRank(Integer rank)
The rank of the Auto Scaling group recommendation option.
The top recommendation option is ranked as 1
.
rank
- The rank of the Auto Scaling group recommendation option.
The top recommendation option is ranked as 1
.
public void setSavingsOpportunity(SavingsOpportunity savingsOpportunity)
An object that describes the savings opportunity for the Auto Scaling group recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.
savingsOpportunity
- An object that describes the savings opportunity for the Auto Scaling group recommendation option. Savings
opportunity includes the estimated monthly savings amount and percentage.public SavingsOpportunity getSavingsOpportunity()
An object that describes the savings opportunity for the Auto Scaling group recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.
public AutoScalingGroupRecommendationOption withSavingsOpportunity(SavingsOpportunity savingsOpportunity)
An object that describes the savings opportunity for the Auto Scaling group recommendation option. Savings opportunity includes the estimated monthly savings amount and percentage.
savingsOpportunity
- An object that describes the savings opportunity for the Auto Scaling group recommendation option. Savings
opportunity includes the estimated monthly savings amount and percentage.public void setSavingsOpportunityAfterDiscounts(AutoScalingGroupSavingsOpportunityAfterDiscounts savingsOpportunityAfterDiscounts)
An object that describes the savings opportunity for the Auto Scaling group recommendation option that includes Savings Plans and Reserved Instances discounts. Savings opportunity includes the estimated monthly savings and percentage.
savingsOpportunityAfterDiscounts
- An object that describes the savings opportunity for the Auto Scaling group recommendation option that
includes Savings Plans and Reserved Instances discounts. Savings opportunity includes the estimated
monthly savings and percentage.public AutoScalingGroupSavingsOpportunityAfterDiscounts getSavingsOpportunityAfterDiscounts()
An object that describes the savings opportunity for the Auto Scaling group recommendation option that includes Savings Plans and Reserved Instances discounts. Savings opportunity includes the estimated monthly savings and percentage.
public AutoScalingGroupRecommendationOption withSavingsOpportunityAfterDiscounts(AutoScalingGroupSavingsOpportunityAfterDiscounts savingsOpportunityAfterDiscounts)
An object that describes the savings opportunity for the Auto Scaling group recommendation option that includes Savings Plans and Reserved Instances discounts. Savings opportunity includes the estimated monthly savings and percentage.
savingsOpportunityAfterDiscounts
- An object that describes the savings opportunity for the Auto Scaling group recommendation option that
includes Savings Plans and Reserved Instances discounts. Savings opportunity includes the estimated
monthly savings and percentage.public void setMigrationEffort(String migrationEffort)
The level of effort required to migrate from the current instance type to the recommended instance type.
For example, the migration effort is Low
if Amazon EMR is the inferred workload type and an Amazon
Web Services Graviton instance type is recommended. The migration effort is Medium
if a workload
type couldn't be inferred but an Amazon Web Services Graviton instance type is recommended. The migration effort
is VeryLow
if both the current and recommended instance types are of the same CPU architecture.
migrationEffort
- The level of effort required to migrate from the current instance type to the recommended instance
type.
For example, the migration effort is Low
if Amazon EMR is the inferred workload type and an
Amazon Web Services Graviton instance type is recommended. The migration effort is Medium
if
a workload type couldn't be inferred but an Amazon Web Services Graviton instance type is recommended. The
migration effort is VeryLow
if both the current and recommended instance types are of the
same CPU architecture.
MigrationEffort
public String getMigrationEffort()
The level of effort required to migrate from the current instance type to the recommended instance type.
For example, the migration effort is Low
if Amazon EMR is the inferred workload type and an Amazon
Web Services Graviton instance type is recommended. The migration effort is Medium
if a workload
type couldn't be inferred but an Amazon Web Services Graviton instance type is recommended. The migration effort
is VeryLow
if both the current and recommended instance types are of the same CPU architecture.
For example, the migration effort is Low
if Amazon EMR is the inferred workload type and an
Amazon Web Services Graviton instance type is recommended. The migration effort is Medium
if
a workload type couldn't be inferred but an Amazon Web Services Graviton instance type is recommended.
The migration effort is VeryLow
if both the current and recommended instance types are of
the same CPU architecture.
MigrationEffort
public AutoScalingGroupRecommendationOption withMigrationEffort(String migrationEffort)
The level of effort required to migrate from the current instance type to the recommended instance type.
For example, the migration effort is Low
if Amazon EMR is the inferred workload type and an Amazon
Web Services Graviton instance type is recommended. The migration effort is Medium
if a workload
type couldn't be inferred but an Amazon Web Services Graviton instance type is recommended. The migration effort
is VeryLow
if both the current and recommended instance types are of the same CPU architecture.
migrationEffort
- The level of effort required to migrate from the current instance type to the recommended instance
type.
For example, the migration effort is Low
if Amazon EMR is the inferred workload type and an
Amazon Web Services Graviton instance type is recommended. The migration effort is Medium
if
a workload type couldn't be inferred but an Amazon Web Services Graviton instance type is recommended. The
migration effort is VeryLow
if both the current and recommended instance types are of the
same CPU architecture.
MigrationEffort
public AutoScalingGroupRecommendationOption withMigrationEffort(MigrationEffort migrationEffort)
The level of effort required to migrate from the current instance type to the recommended instance type.
For example, the migration effort is Low
if Amazon EMR is the inferred workload type and an Amazon
Web Services Graviton instance type is recommended. The migration effort is Medium
if a workload
type couldn't be inferred but an Amazon Web Services Graviton instance type is recommended. The migration effort
is VeryLow
if both the current and recommended instance types are of the same CPU architecture.
migrationEffort
- The level of effort required to migrate from the current instance type to the recommended instance
type.
For example, the migration effort is Low
if Amazon EMR is the inferred workload type and an
Amazon Web Services Graviton instance type is recommended. The migration effort is Medium
if
a workload type couldn't be inferred but an Amazon Web Services Graviton instance type is recommended. The
migration effort is VeryLow
if both the current and recommended instance types are of the
same CPU architecture.
MigrationEffort
public String toString()
toString
in class Object
Object.toString()
public AutoScalingGroupRecommendationOption clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.