@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VolumeRecommendation extends Object implements Serializable, Cloneable, StructuredPojo
Describes an Amazon Elastic Block Store (Amazon EBS) volume recommendation.
Constructor and Description |
---|
VolumeRecommendation() |
Modifier and Type | Method and Description |
---|---|
VolumeRecommendation |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account ID of the volume.
|
VolumeConfiguration |
getCurrentConfiguration()
An array of objects that describe the current configuration of the volume.
|
String |
getCurrentPerformanceRisk()
The risk of the current EBS volume not meeting the performance needs of its workloads.
|
String |
getFinding()
The finding classification of the volume.
|
Date |
getLastRefreshTimestamp()
The timestamp of when the volume recommendation was last generated.
|
Double |
getLookBackPeriodInDays()
The number of days for which utilization metrics were analyzed for the volume.
|
List<EBSUtilizationMetric> |
getUtilizationMetrics()
An array of objects that describe the utilization metrics of the volume.
|
String |
getVolumeArn()
The Amazon Resource Name (ARN) of the current volume.
|
List<VolumeRecommendationOption> |
getVolumeRecommendationOptions()
An array of objects that describe the recommendation options for the volume.
|
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 volume.
|
void |
setCurrentConfiguration(VolumeConfiguration currentConfiguration)
An array of objects that describe the current configuration of the volume.
|
void |
setCurrentPerformanceRisk(String currentPerformanceRisk)
The risk of the current EBS volume not meeting the performance needs of its workloads.
|
void |
setFinding(String finding)
The finding classification of the volume.
|
void |
setLastRefreshTimestamp(Date lastRefreshTimestamp)
The timestamp of when the volume recommendation was last generated.
|
void |
setLookBackPeriodInDays(Double lookBackPeriodInDays)
The number of days for which utilization metrics were analyzed for the volume.
|
void |
setUtilizationMetrics(Collection<EBSUtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the volume.
|
void |
setVolumeArn(String volumeArn)
The Amazon Resource Name (ARN) of the current volume.
|
void |
setVolumeRecommendationOptions(Collection<VolumeRecommendationOption> volumeRecommendationOptions)
An array of objects that describe the recommendation options for the volume.
|
String |
toString()
Returns a string representation of this object.
|
VolumeRecommendation |
withAccountId(String accountId)
The Amazon Web Services account ID of the volume.
|
VolumeRecommendation |
withCurrentConfiguration(VolumeConfiguration currentConfiguration)
An array of objects that describe the current configuration of the volume.
|
VolumeRecommendation |
withCurrentPerformanceRisk(CurrentPerformanceRisk currentPerformanceRisk)
The risk of the current EBS volume not meeting the performance needs of its workloads.
|
VolumeRecommendation |
withCurrentPerformanceRisk(String currentPerformanceRisk)
The risk of the current EBS volume not meeting the performance needs of its workloads.
|
VolumeRecommendation |
withFinding(EBSFinding finding)
The finding classification of the volume.
|
VolumeRecommendation |
withFinding(String finding)
The finding classification of the volume.
|
VolumeRecommendation |
withLastRefreshTimestamp(Date lastRefreshTimestamp)
The timestamp of when the volume recommendation was last generated.
|
VolumeRecommendation |
withLookBackPeriodInDays(Double lookBackPeriodInDays)
The number of days for which utilization metrics were analyzed for the volume.
|
VolumeRecommendation |
withUtilizationMetrics(Collection<EBSUtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the volume.
|
VolumeRecommendation |
withUtilizationMetrics(EBSUtilizationMetric... utilizationMetrics)
An array of objects that describe the utilization metrics of the volume.
|
VolumeRecommendation |
withVolumeArn(String volumeArn)
The Amazon Resource Name (ARN) of the current volume.
|
VolumeRecommendation |
withVolumeRecommendationOptions(Collection<VolumeRecommendationOption> volumeRecommendationOptions)
An array of objects that describe the recommendation options for the volume.
|
VolumeRecommendation |
withVolumeRecommendationOptions(VolumeRecommendationOption... volumeRecommendationOptions)
An array of objects that describe the recommendation options for the volume.
|
public void setVolumeArn(String volumeArn)
The Amazon Resource Name (ARN) of the current volume.
volumeArn
- The Amazon Resource Name (ARN) of the current volume.public String getVolumeArn()
The Amazon Resource Name (ARN) of the current volume.
public VolumeRecommendation withVolumeArn(String volumeArn)
The Amazon Resource Name (ARN) of the current volume.
volumeArn
- The Amazon Resource Name (ARN) of the current volume.public void setAccountId(String accountId)
The Amazon Web Services account ID of the volume.
accountId
- The Amazon Web Services account ID of the volume.public String getAccountId()
The Amazon Web Services account ID of the volume.
public VolumeRecommendation withAccountId(String accountId)
The Amazon Web Services account ID of the volume.
accountId
- The Amazon Web Services account ID of the volume.public void setCurrentConfiguration(VolumeConfiguration currentConfiguration)
An array of objects that describe the current configuration of the volume.
currentConfiguration
- An array of objects that describe the current configuration of the volume.public VolumeConfiguration getCurrentConfiguration()
An array of objects that describe the current configuration of the volume.
public VolumeRecommendation withCurrentConfiguration(VolumeConfiguration currentConfiguration)
An array of objects that describe the current configuration of the volume.
currentConfiguration
- An array of objects that describe the current configuration of the volume.public void setFinding(String finding)
The finding classification of the volume.
Findings for volumes include:
NotOptimized
—A volume is considered not optimized when Compute Optimizer identifies a
recommendation that can provide better performance for your workload.
Optimized
—An volume is considered optimized when Compute Optimizer determines that the
volume is correctly provisioned to run your workload based on the chosen volume type. For optimized resources,
Compute Optimizer might recommend a new generation volume type.
finding
- The finding classification of the volume.
Findings for volumes include:
NotOptimized
—A volume is considered not optimized when Compute Optimizer identifies
a recommendation that can provide better performance for your workload.
Optimized
—An volume is considered optimized when Compute Optimizer determines that
the volume is correctly provisioned to run your workload based on the chosen volume type. For optimized
resources, Compute Optimizer might recommend a new generation volume type.
EBSFinding
public String getFinding()
The finding classification of the volume.
Findings for volumes include:
NotOptimized
—A volume is considered not optimized when Compute Optimizer identifies a
recommendation that can provide better performance for your workload.
Optimized
—An volume is considered optimized when Compute Optimizer determines that the
volume is correctly provisioned to run your workload based on the chosen volume type. For optimized resources,
Compute Optimizer might recommend a new generation volume type.
Findings for volumes include:
NotOptimized
—A volume is considered not optimized when Compute Optimizer identifies
a recommendation that can provide better performance for your workload.
Optimized
—An volume is considered optimized when Compute Optimizer determines that
the volume is correctly provisioned to run your workload based on the chosen volume type. For optimized
resources, Compute Optimizer might recommend a new generation volume type.
EBSFinding
public VolumeRecommendation withFinding(String finding)
The finding classification of the volume.
Findings for volumes include:
NotOptimized
—A volume is considered not optimized when Compute Optimizer identifies a
recommendation that can provide better performance for your workload.
Optimized
—An volume is considered optimized when Compute Optimizer determines that the
volume is correctly provisioned to run your workload based on the chosen volume type. For optimized resources,
Compute Optimizer might recommend a new generation volume type.
finding
- The finding classification of the volume.
Findings for volumes include:
NotOptimized
—A volume is considered not optimized when Compute Optimizer identifies
a recommendation that can provide better performance for your workload.
Optimized
—An volume is considered optimized when Compute Optimizer determines that
the volume is correctly provisioned to run your workload based on the chosen volume type. For optimized
resources, Compute Optimizer might recommend a new generation volume type.
EBSFinding
public VolumeRecommendation withFinding(EBSFinding finding)
The finding classification of the volume.
Findings for volumes include:
NotOptimized
—A volume is considered not optimized when Compute Optimizer identifies a
recommendation that can provide better performance for your workload.
Optimized
—An volume is considered optimized when Compute Optimizer determines that the
volume is correctly provisioned to run your workload based on the chosen volume type. For optimized resources,
Compute Optimizer might recommend a new generation volume type.
finding
- The finding classification of the volume.
Findings for volumes include:
NotOptimized
—A volume is considered not optimized when Compute Optimizer identifies
a recommendation that can provide better performance for your workload.
Optimized
—An volume is considered optimized when Compute Optimizer determines that
the volume is correctly provisioned to run your workload based on the chosen volume type. For optimized
resources, Compute Optimizer might recommend a new generation volume type.
EBSFinding
public List<EBSUtilizationMetric> getUtilizationMetrics()
An array of objects that describe the utilization metrics of the volume.
public void setUtilizationMetrics(Collection<EBSUtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the volume.
utilizationMetrics
- An array of objects that describe the utilization metrics of the volume.public VolumeRecommendation withUtilizationMetrics(EBSUtilizationMetric... utilizationMetrics)
An array of objects that describe the utilization metrics of the volume.
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 volume.public VolumeRecommendation withUtilizationMetrics(Collection<EBSUtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the volume.
utilizationMetrics
- An array of objects that describe the utilization metrics of the volume.public void setLookBackPeriodInDays(Double lookBackPeriodInDays)
The number of days for which utilization metrics were analyzed for the volume.
lookBackPeriodInDays
- The number of days for which utilization metrics were analyzed for the volume.public Double getLookBackPeriodInDays()
The number of days for which utilization metrics were analyzed for the volume.
public VolumeRecommendation withLookBackPeriodInDays(Double lookBackPeriodInDays)
The number of days for which utilization metrics were analyzed for the volume.
lookBackPeriodInDays
- The number of days for which utilization metrics were analyzed for the volume.public List<VolumeRecommendationOption> getVolumeRecommendationOptions()
An array of objects that describe the recommendation options for the volume.
public void setVolumeRecommendationOptions(Collection<VolumeRecommendationOption> volumeRecommendationOptions)
An array of objects that describe the recommendation options for the volume.
volumeRecommendationOptions
- An array of objects that describe the recommendation options for the volume.public VolumeRecommendation withVolumeRecommendationOptions(VolumeRecommendationOption... volumeRecommendationOptions)
An array of objects that describe the recommendation options for the volume.
NOTE: This method appends the values to the existing list (if any). Use
setVolumeRecommendationOptions(java.util.Collection)
or
withVolumeRecommendationOptions(java.util.Collection)
if you want to override the existing values.
volumeRecommendationOptions
- An array of objects that describe the recommendation options for the volume.public VolumeRecommendation withVolumeRecommendationOptions(Collection<VolumeRecommendationOption> volumeRecommendationOptions)
An array of objects that describe the recommendation options for the volume.
volumeRecommendationOptions
- An array of objects that describe the recommendation options for the volume.public void setLastRefreshTimestamp(Date lastRefreshTimestamp)
The timestamp of when the volume recommendation was last generated.
lastRefreshTimestamp
- The timestamp of when the volume recommendation was last generated.public Date getLastRefreshTimestamp()
The timestamp of when the volume recommendation was last generated.
public VolumeRecommendation withLastRefreshTimestamp(Date lastRefreshTimestamp)
The timestamp of when the volume recommendation was last generated.
lastRefreshTimestamp
- The timestamp of when the volume recommendation was last generated.public void setCurrentPerformanceRisk(String currentPerformanceRisk)
The risk of the current EBS volume not meeting the performance needs of its workloads. The higher the risk, the more likely the current EBS volume doesn't have sufficient capacity.
currentPerformanceRisk
- The risk of the current EBS volume not meeting the performance needs of its workloads. The higher the
risk, the more likely the current EBS volume doesn't have sufficient capacity.CurrentPerformanceRisk
public String getCurrentPerformanceRisk()
The risk of the current EBS volume not meeting the performance needs of its workloads. The higher the risk, the more likely the current EBS volume doesn't have sufficient capacity.
CurrentPerformanceRisk
public VolumeRecommendation withCurrentPerformanceRisk(String currentPerformanceRisk)
The risk of the current EBS volume not meeting the performance needs of its workloads. The higher the risk, the more likely the current EBS volume doesn't have sufficient capacity.
currentPerformanceRisk
- The risk of the current EBS volume not meeting the performance needs of its workloads. The higher the
risk, the more likely the current EBS volume doesn't have sufficient capacity.CurrentPerformanceRisk
public VolumeRecommendation withCurrentPerformanceRisk(CurrentPerformanceRisk currentPerformanceRisk)
The risk of the current EBS volume not meeting the performance needs of its workloads. The higher the risk, the more likely the current EBS volume doesn't have sufficient capacity.
currentPerformanceRisk
- The risk of the current EBS volume not meeting the performance needs of its workloads. The higher the
risk, the more likely the current EBS volume doesn't have sufficient capacity.CurrentPerformanceRisk
public String toString()
toString
in class Object
Object.toString()
public VolumeRecommendation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.