@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AutoScalingGroupRecommendation extends Object implements Serializable, Cloneable, StructuredPojo
Describes an Auto Scaling group recommendation.
Constructor and Description |
---|
AutoScalingGroupRecommendation() |
Modifier and Type | Method and Description |
---|---|
AutoScalingGroupRecommendation |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account ID of the Auto Scaling group.
|
String |
getAutoScalingGroupArn()
The Amazon Resource Name (ARN) of the Auto Scaling group.
|
String |
getAutoScalingGroupName()
The name of the Auto Scaling group.
|
AutoScalingGroupConfiguration |
getCurrentConfiguration()
An array of objects that describe the current configuration of the Auto Scaling group.
|
String |
getFinding()
The finding classification of the Auto Scaling group.
|
Date |
getLastRefreshTimestamp()
The timestamp of when the Auto Scaling group recommendation was last refreshed.
|
Double |
getLookBackPeriodInDays()
The number of days for which utilization metrics were analyzed for the Auto Scaling group.
|
List<AutoScalingGroupRecommendationOption> |
getRecommendationOptions()
An array of objects that describe the recommendation options for the Auto Scaling group.
|
List<UtilizationMetric> |
getUtilizationMetrics()
An array of objects that describe the utilization metrics of the Auto Scaling group.
|
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 Auto Scaling group.
|
void |
setAutoScalingGroupArn(String autoScalingGroupArn)
The Amazon Resource Name (ARN) of the Auto Scaling group.
|
void |
setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
void |
setCurrentConfiguration(AutoScalingGroupConfiguration currentConfiguration)
An array of objects that describe the current configuration of the Auto Scaling group.
|
void |
setFinding(String finding)
The finding classification of the Auto Scaling group.
|
void |
setLastRefreshTimestamp(Date lastRefreshTimestamp)
The timestamp of when the Auto Scaling group recommendation was last refreshed.
|
void |
setLookBackPeriodInDays(Double lookBackPeriodInDays)
The number of days for which utilization metrics were analyzed for the Auto Scaling group.
|
void |
setRecommendationOptions(Collection<AutoScalingGroupRecommendationOption> recommendationOptions)
An array of objects that describe the recommendation options for the Auto Scaling group.
|
void |
setUtilizationMetrics(Collection<UtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the Auto Scaling group.
|
String |
toString()
Returns a string representation of this object.
|
AutoScalingGroupRecommendation |
withAccountId(String accountId)
The Amazon Web Services account ID of the Auto Scaling group.
|
AutoScalingGroupRecommendation |
withAutoScalingGroupArn(String autoScalingGroupArn)
The Amazon Resource Name (ARN) of the Auto Scaling group.
|
AutoScalingGroupRecommendation |
withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
|
AutoScalingGroupRecommendation |
withCurrentConfiguration(AutoScalingGroupConfiguration currentConfiguration)
An array of objects that describe the current configuration of the Auto Scaling group.
|
AutoScalingGroupRecommendation |
withFinding(Finding finding)
The finding classification of the Auto Scaling group.
|
AutoScalingGroupRecommendation |
withFinding(String finding)
The finding classification of the Auto Scaling group.
|
AutoScalingGroupRecommendation |
withLastRefreshTimestamp(Date lastRefreshTimestamp)
The timestamp of when the Auto Scaling group recommendation was last refreshed.
|
AutoScalingGroupRecommendation |
withLookBackPeriodInDays(Double lookBackPeriodInDays)
The number of days for which utilization metrics were analyzed for the Auto Scaling group.
|
AutoScalingGroupRecommendation |
withRecommendationOptions(AutoScalingGroupRecommendationOption... recommendationOptions)
An array of objects that describe the recommendation options for the Auto Scaling group.
|
AutoScalingGroupRecommendation |
withRecommendationOptions(Collection<AutoScalingGroupRecommendationOption> recommendationOptions)
An array of objects that describe the recommendation options for the Auto Scaling group.
|
AutoScalingGroupRecommendation |
withUtilizationMetrics(Collection<UtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the Auto Scaling group.
|
AutoScalingGroupRecommendation |
withUtilizationMetrics(UtilizationMetric... utilizationMetrics)
An array of objects that describe the utilization metrics of the Auto Scaling group.
|
public void setAccountId(String accountId)
The Amazon Web Services account ID of the Auto Scaling group.
accountId
- The Amazon Web Services account ID of the Auto Scaling group.public String getAccountId()
The Amazon Web Services account ID of the Auto Scaling group.
public AutoScalingGroupRecommendation withAccountId(String accountId)
The Amazon Web Services account ID of the Auto Scaling group.
accountId
- The Amazon Web Services account ID of the Auto Scaling group.public void setAutoScalingGroupArn(String autoScalingGroupArn)
The Amazon Resource Name (ARN) of the Auto Scaling group.
autoScalingGroupArn
- The Amazon Resource Name (ARN) of the Auto Scaling group.public String getAutoScalingGroupArn()
The Amazon Resource Name (ARN) of the Auto Scaling group.
public AutoScalingGroupRecommendation withAutoScalingGroupArn(String autoScalingGroupArn)
The Amazon Resource Name (ARN) of the Auto Scaling group.
autoScalingGroupArn
- The Amazon Resource Name (ARN) of the Auto Scaling group.public void setAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public String getAutoScalingGroupName()
The name of the Auto Scaling group.
public AutoScalingGroupRecommendation withAutoScalingGroupName(String autoScalingGroupName)
The name of the Auto Scaling group.
autoScalingGroupName
- The name of the Auto Scaling group.public void setFinding(String finding)
The finding classification of the Auto Scaling group.
Findings for Auto Scaling groups include:
NotOptimized
—An Auto Scaling group is considered not optimized when Compute Optimizer
identifies a recommendation that can provide better performance for your workload.
Optimized
—An Auto Scaling group is considered optimized when Compute Optimizer determines
that the group is correctly provisioned to run your workload based on the chosen instance type. For optimized
resources, Compute Optimizer might recommend a new generation instance type.
finding
- The finding classification of the Auto Scaling group.
Findings for Auto Scaling groups include:
NotOptimized
—An Auto Scaling group is considered not optimized when Compute
Optimizer identifies a recommendation that can provide better performance for your workload.
Optimized
—An Auto Scaling group is considered optimized when Compute Optimizer
determines that the group is correctly provisioned to run your workload based on the chosen instance type.
For optimized resources, Compute Optimizer might recommend a new generation instance type.
Finding
public String getFinding()
The finding classification of the Auto Scaling group.
Findings for Auto Scaling groups include:
NotOptimized
—An Auto Scaling group is considered not optimized when Compute Optimizer
identifies a recommendation that can provide better performance for your workload.
Optimized
—An Auto Scaling group is considered optimized when Compute Optimizer determines
that the group is correctly provisioned to run your workload based on the chosen instance type. For optimized
resources, Compute Optimizer might recommend a new generation instance type.
Findings for Auto Scaling groups include:
NotOptimized
—An Auto Scaling group is considered not optimized when Compute
Optimizer identifies a recommendation that can provide better performance for your workload.
Optimized
—An Auto Scaling group is considered optimized when Compute Optimizer
determines that the group is correctly provisioned to run your workload based on the chosen instance
type. For optimized resources, Compute Optimizer might recommend a new generation instance type.
Finding
public AutoScalingGroupRecommendation withFinding(String finding)
The finding classification of the Auto Scaling group.
Findings for Auto Scaling groups include:
NotOptimized
—An Auto Scaling group is considered not optimized when Compute Optimizer
identifies a recommendation that can provide better performance for your workload.
Optimized
—An Auto Scaling group is considered optimized when Compute Optimizer determines
that the group is correctly provisioned to run your workload based on the chosen instance type. For optimized
resources, Compute Optimizer might recommend a new generation instance type.
finding
- The finding classification of the Auto Scaling group.
Findings for Auto Scaling groups include:
NotOptimized
—An Auto Scaling group is considered not optimized when Compute
Optimizer identifies a recommendation that can provide better performance for your workload.
Optimized
—An Auto Scaling group is considered optimized when Compute Optimizer
determines that the group is correctly provisioned to run your workload based on the chosen instance type.
For optimized resources, Compute Optimizer might recommend a new generation instance type.
Finding
public AutoScalingGroupRecommendation withFinding(Finding finding)
The finding classification of the Auto Scaling group.
Findings for Auto Scaling groups include:
NotOptimized
—An Auto Scaling group is considered not optimized when Compute Optimizer
identifies a recommendation that can provide better performance for your workload.
Optimized
—An Auto Scaling group is considered optimized when Compute Optimizer determines
that the group is correctly provisioned to run your workload based on the chosen instance type. For optimized
resources, Compute Optimizer might recommend a new generation instance type.
finding
- The finding classification of the Auto Scaling group.
Findings for Auto Scaling groups include:
NotOptimized
—An Auto Scaling group is considered not optimized when Compute
Optimizer identifies a recommendation that can provide better performance for your workload.
Optimized
—An Auto Scaling group is considered optimized when Compute Optimizer
determines that the group is correctly provisioned to run your workload based on the chosen instance type.
For optimized resources, Compute Optimizer might recommend a new generation instance type.
Finding
public List<UtilizationMetric> getUtilizationMetrics()
An array of objects that describe the utilization metrics of the Auto Scaling group.
public void setUtilizationMetrics(Collection<UtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the Auto Scaling group.
utilizationMetrics
- An array of objects that describe the utilization metrics of the Auto Scaling group.public AutoScalingGroupRecommendation withUtilizationMetrics(UtilizationMetric... utilizationMetrics)
An array of objects that describe the utilization metrics of the Auto Scaling group.
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 Auto Scaling group.public AutoScalingGroupRecommendation withUtilizationMetrics(Collection<UtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the Auto Scaling group.
utilizationMetrics
- An array of objects that describe the utilization metrics of the Auto Scaling group.public void setLookBackPeriodInDays(Double lookBackPeriodInDays)
The number of days for which utilization metrics were analyzed for the Auto Scaling group.
lookBackPeriodInDays
- The number of days for which utilization metrics were analyzed for the Auto Scaling group.public Double getLookBackPeriodInDays()
The number of days for which utilization metrics were analyzed for the Auto Scaling group.
public AutoScalingGroupRecommendation withLookBackPeriodInDays(Double lookBackPeriodInDays)
The number of days for which utilization metrics were analyzed for the Auto Scaling group.
lookBackPeriodInDays
- The number of days for which utilization metrics were analyzed for the Auto Scaling group.public void setCurrentConfiguration(AutoScalingGroupConfiguration currentConfiguration)
An array of objects that describe the current configuration of the Auto Scaling group.
currentConfiguration
- An array of objects that describe the current configuration of the Auto Scaling group.public AutoScalingGroupConfiguration getCurrentConfiguration()
An array of objects that describe the current configuration of the Auto Scaling group.
public AutoScalingGroupRecommendation withCurrentConfiguration(AutoScalingGroupConfiguration currentConfiguration)
An array of objects that describe the current configuration of the Auto Scaling group.
currentConfiguration
- An array of objects that describe the current configuration of the Auto Scaling group.public List<AutoScalingGroupRecommendationOption> getRecommendationOptions()
An array of objects that describe the recommendation options for the Auto Scaling group.
public void setRecommendationOptions(Collection<AutoScalingGroupRecommendationOption> recommendationOptions)
An array of objects that describe the recommendation options for the Auto Scaling group.
recommendationOptions
- An array of objects that describe the recommendation options for the Auto Scaling group.public AutoScalingGroupRecommendation withRecommendationOptions(AutoScalingGroupRecommendationOption... recommendationOptions)
An array of objects that describe the recommendation options for the Auto Scaling group.
NOTE: This method appends the values to the existing list (if any). Use
setRecommendationOptions(java.util.Collection)
or
withRecommendationOptions(java.util.Collection)
if you want to override the existing values.
recommendationOptions
- An array of objects that describe the recommendation options for the Auto Scaling group.public AutoScalingGroupRecommendation withRecommendationOptions(Collection<AutoScalingGroupRecommendationOption> recommendationOptions)
An array of objects that describe the recommendation options for the Auto Scaling group.
recommendationOptions
- An array of objects that describe the recommendation options for the Auto Scaling group.public void setLastRefreshTimestamp(Date lastRefreshTimestamp)
The timestamp of when the Auto Scaling group recommendation was last refreshed.
lastRefreshTimestamp
- The timestamp of when the Auto Scaling group recommendation was last refreshed.public Date getLastRefreshTimestamp()
The timestamp of when the Auto Scaling group recommendation was last refreshed.
public AutoScalingGroupRecommendation withLastRefreshTimestamp(Date lastRefreshTimestamp)
The timestamp of when the Auto Scaling group recommendation was last refreshed.
lastRefreshTimestamp
- The timestamp of when the Auto Scaling group recommendation was last refreshed.public String toString()
toString
in class Object
Object.toString()
public AutoScalingGroupRecommendation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.