@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.
|
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.
|
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 |
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.
|
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 |
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.
|
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 List<UtilizationMetric> getProjectedUtilizationMetrics()
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.
public void setProjectedUtilizationMetrics(Collection<UtilizationMetric> projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.
projectedUtilizationMetrics
- An array of objects that describe the projected utilization metrics of the Auto Scaling group
recommendation option.public AutoScalingGroupRecommendationOption withProjectedUtilizationMetrics(UtilizationMetric... projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.
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.public AutoScalingGroupRecommendationOption withProjectedUtilizationMetrics(Collection<UtilizationMetric> projectedUtilizationMetrics)
An array of objects that describe the projected utilization metrics of the Auto Scaling group recommendation option.
projectedUtilizationMetrics
- An array of objects that describe the projected utilization metrics of the Auto Scaling group
recommendation option.public void setPerformanceRisk(Double performanceRisk)
The performance risk of the Auto Scaling group configuration recommendation.
Performance risk is the likelihood of the recommended instance type not meeting the performance requirement of your workload.
The lowest performance risk is categorized as 0
, and the highest as 5
.
performanceRisk
- The performance risk of the Auto Scaling group configuration recommendation.
Performance risk is the likelihood of the recommended instance type not meeting the performance requirement of your workload.
The lowest performance risk is categorized as 0
, and the highest as 5
.
public Double getPerformanceRisk()
The performance risk of the Auto Scaling group configuration recommendation.
Performance risk is the likelihood of the recommended instance type not meeting the performance requirement of your workload.
The lowest performance risk is categorized as 0
, and the highest as 5
.
Performance risk is the likelihood of the recommended instance type not meeting the performance requirement of your workload.
The lowest performance risk is categorized as 0
, and the highest as 5
.
public AutoScalingGroupRecommendationOption withPerformanceRisk(Double performanceRisk)
The performance risk of the Auto Scaling group configuration recommendation.
Performance risk is the likelihood of the recommended instance type not meeting the performance requirement of your workload.
The lowest performance risk is categorized as 0
, and the highest as 5
.
performanceRisk
- The performance risk of the Auto Scaling group configuration recommendation.
Performance risk is the likelihood of the recommended instance type not meeting the performance requirement of your workload.
The lowest performance risk is categorized as 0
, and the highest as 5
.
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 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.