@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RDSDBRecommendation extends Object implements Serializable, Cloneable, StructuredPojo
Describes an Amazon RDS recommendation.
Constructor and Description |
---|
RDSDBRecommendation() |
Modifier and Type | Method and Description |
---|---|
RDSDBRecommendation |
clone() |
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account ID of the Amazon RDS.
|
String |
getCurrentDBInstanceClass()
The DB instance class of the current RDS instance.
|
DBStorageConfiguration |
getCurrentStorageConfiguration()
The configuration of the current RDS storage.
|
RDSEffectiveRecommendationPreferences |
getEffectiveRecommendationPreferences()
Describes the effective recommendation preferences for Amazon RDS.
|
String |
getEngine()
The engine of the RDS instance.
|
String |
getEngineVersion()
The database engine version.
|
String |
getIdle()
This indicates if the RDS instance is idle or not.
|
String |
getInstanceFinding()
The finding classification of an Amazon RDS instance.
|
List<String> |
getInstanceFindingReasonCodes()
The reason for the finding classification of an Amazon RDS instance.
|
List<RDSDBInstanceRecommendationOption> |
getInstanceRecommendationOptions()
An array of objects that describe the recommendation options for the Amazon RDS instance.
|
Date |
getLastRefreshTimestamp()
The timestamp of when the Amazon RDS recommendation was last generated.
|
Double |
getLookbackPeriodInDays()
The number of days the Amazon RDS utilization metrics were analyzed.
|
String |
getResourceArn()
The ARN of the current Amazon RDS.
|
String |
getStorageFinding()
The finding classification of Amazon RDS storage.
|
List<String> |
getStorageFindingReasonCodes()
The reason for the finding classification of Amazon RDS storage.
|
List<RDSDBStorageRecommendationOption> |
getStorageRecommendationOptions()
An array of objects that describe the recommendation options for Amazon RDS storage.
|
List<Tag> |
getTags()
A list of tags assigned to your Amazon RDS recommendations.
|
List<RDSDBUtilizationMetric> |
getUtilizationMetrics()
An array of objects that describe the utilization metrics of the Amazon RDS.
|
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 RDS.
|
void |
setCurrentDBInstanceClass(String currentDBInstanceClass)
The DB instance class of the current RDS instance.
|
void |
setCurrentStorageConfiguration(DBStorageConfiguration currentStorageConfiguration)
The configuration of the current RDS storage.
|
void |
setEffectiveRecommendationPreferences(RDSEffectiveRecommendationPreferences effectiveRecommendationPreferences)
Describes the effective recommendation preferences for Amazon RDS.
|
void |
setEngine(String engine)
The engine of the RDS instance.
|
void |
setEngineVersion(String engineVersion)
The database engine version.
|
void |
setIdle(String idle)
This indicates if the RDS instance is idle or not.
|
void |
setInstanceFinding(String instanceFinding)
The finding classification of an Amazon RDS instance.
|
void |
setInstanceFindingReasonCodes(Collection<String> instanceFindingReasonCodes)
The reason for the finding classification of an Amazon RDS instance.
|
void |
setInstanceRecommendationOptions(Collection<RDSDBInstanceRecommendationOption> instanceRecommendationOptions)
An array of objects that describe the recommendation options for the Amazon RDS instance.
|
void |
setLastRefreshTimestamp(Date lastRefreshTimestamp)
The timestamp of when the Amazon RDS recommendation was last generated.
|
void |
setLookbackPeriodInDays(Double lookbackPeriodInDays)
The number of days the Amazon RDS utilization metrics were analyzed.
|
void |
setResourceArn(String resourceArn)
The ARN of the current Amazon RDS.
|
void |
setStorageFinding(String storageFinding)
The finding classification of Amazon RDS storage.
|
void |
setStorageFindingReasonCodes(Collection<String> storageFindingReasonCodes)
The reason for the finding classification of Amazon RDS storage.
|
void |
setStorageRecommendationOptions(Collection<RDSDBStorageRecommendationOption> storageRecommendationOptions)
An array of objects that describe the recommendation options for Amazon RDS storage.
|
void |
setTags(Collection<Tag> tags)
A list of tags assigned to your Amazon RDS recommendations.
|
void |
setUtilizationMetrics(Collection<RDSDBUtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the Amazon RDS.
|
String |
toString()
Returns a string representation of this object.
|
RDSDBRecommendation |
withAccountId(String accountId)
The Amazon Web Services account ID of the Amazon RDS.
|
RDSDBRecommendation |
withCurrentDBInstanceClass(String currentDBInstanceClass)
The DB instance class of the current RDS instance.
|
RDSDBRecommendation |
withCurrentStorageConfiguration(DBStorageConfiguration currentStorageConfiguration)
The configuration of the current RDS storage.
|
RDSDBRecommendation |
withEffectiveRecommendationPreferences(RDSEffectiveRecommendationPreferences effectiveRecommendationPreferences)
Describes the effective recommendation preferences for Amazon RDS.
|
RDSDBRecommendation |
withEngine(String engine)
The engine of the RDS instance.
|
RDSDBRecommendation |
withEngineVersion(String engineVersion)
The database engine version.
|
RDSDBRecommendation |
withIdle(Idle idle)
This indicates if the RDS instance is idle or not.
|
RDSDBRecommendation |
withIdle(String idle)
This indicates if the RDS instance is idle or not.
|
RDSDBRecommendation |
withInstanceFinding(RDSInstanceFinding instanceFinding)
The finding classification of an Amazon RDS instance.
|
RDSDBRecommendation |
withInstanceFinding(String instanceFinding)
The finding classification of an Amazon RDS instance.
|
RDSDBRecommendation |
withInstanceFindingReasonCodes(Collection<String> instanceFindingReasonCodes)
The reason for the finding classification of an Amazon RDS instance.
|
RDSDBRecommendation |
withInstanceFindingReasonCodes(RDSInstanceFindingReasonCode... instanceFindingReasonCodes)
The reason for the finding classification of an Amazon RDS instance.
|
RDSDBRecommendation |
withInstanceFindingReasonCodes(String... instanceFindingReasonCodes)
The reason for the finding classification of an Amazon RDS instance.
|
RDSDBRecommendation |
withInstanceRecommendationOptions(Collection<RDSDBInstanceRecommendationOption> instanceRecommendationOptions)
An array of objects that describe the recommendation options for the Amazon RDS instance.
|
RDSDBRecommendation |
withInstanceRecommendationOptions(RDSDBInstanceRecommendationOption... instanceRecommendationOptions)
An array of objects that describe the recommendation options for the Amazon RDS instance.
|
RDSDBRecommendation |
withLastRefreshTimestamp(Date lastRefreshTimestamp)
The timestamp of when the Amazon RDS recommendation was last generated.
|
RDSDBRecommendation |
withLookbackPeriodInDays(Double lookbackPeriodInDays)
The number of days the Amazon RDS utilization metrics were analyzed.
|
RDSDBRecommendation |
withResourceArn(String resourceArn)
The ARN of the current Amazon RDS.
|
RDSDBRecommendation |
withStorageFinding(RDSStorageFinding storageFinding)
The finding classification of Amazon RDS storage.
|
RDSDBRecommendation |
withStorageFinding(String storageFinding)
The finding classification of Amazon RDS storage.
|
RDSDBRecommendation |
withStorageFindingReasonCodes(Collection<String> storageFindingReasonCodes)
The reason for the finding classification of Amazon RDS storage.
|
RDSDBRecommendation |
withStorageFindingReasonCodes(RDSStorageFindingReasonCode... storageFindingReasonCodes)
The reason for the finding classification of Amazon RDS storage.
|
RDSDBRecommendation |
withStorageFindingReasonCodes(String... storageFindingReasonCodes)
The reason for the finding classification of Amazon RDS storage.
|
RDSDBRecommendation |
withStorageRecommendationOptions(Collection<RDSDBStorageRecommendationOption> storageRecommendationOptions)
An array of objects that describe the recommendation options for Amazon RDS storage.
|
RDSDBRecommendation |
withStorageRecommendationOptions(RDSDBStorageRecommendationOption... storageRecommendationOptions)
An array of objects that describe the recommendation options for Amazon RDS storage.
|
RDSDBRecommendation |
withTags(Collection<Tag> tags)
A list of tags assigned to your Amazon RDS recommendations.
|
RDSDBRecommendation |
withTags(Tag... tags)
A list of tags assigned to your Amazon RDS recommendations.
|
RDSDBRecommendation |
withUtilizationMetrics(Collection<RDSDBUtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the Amazon RDS.
|
RDSDBRecommendation |
withUtilizationMetrics(RDSDBUtilizationMetric... utilizationMetrics)
An array of objects that describe the utilization metrics of the Amazon RDS.
|
public void setResourceArn(String resourceArn)
The ARN of the current Amazon RDS.
The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName}
resourceArn
- The ARN of the current Amazon RDS.
The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName}
public String getResourceArn()
The ARN of the current Amazon RDS.
The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName}
The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName}
public RDSDBRecommendation withResourceArn(String resourceArn)
The ARN of the current Amazon RDS.
The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName}
resourceArn
- The ARN of the current Amazon RDS.
The following is the format of the ARN:
arn:aws:rds:{region}:{accountId}:db:{resourceName}
public void setAccountId(String accountId)
The Amazon Web Services account ID of the Amazon RDS.
accountId
- The Amazon Web Services account ID of the Amazon RDS.public String getAccountId()
The Amazon Web Services account ID of the Amazon RDS.
public RDSDBRecommendation withAccountId(String accountId)
The Amazon Web Services account ID of the Amazon RDS.
accountId
- The Amazon Web Services account ID of the Amazon RDS.public void setEngine(String engine)
The engine of the RDS instance.
engine
- The engine of the RDS instance.public String getEngine()
The engine of the RDS instance.
public RDSDBRecommendation withEngine(String engine)
The engine of the RDS instance.
engine
- The engine of the RDS instance.public void setEngineVersion(String engineVersion)
The database engine version.
engineVersion
- The database engine version.public String getEngineVersion()
The database engine version.
public RDSDBRecommendation withEngineVersion(String engineVersion)
The database engine version.
engineVersion
- The database engine version.public void setCurrentDBInstanceClass(String currentDBInstanceClass)
The DB instance class of the current RDS instance.
currentDBInstanceClass
- The DB instance class of the current RDS instance.public String getCurrentDBInstanceClass()
The DB instance class of the current RDS instance.
public RDSDBRecommendation withCurrentDBInstanceClass(String currentDBInstanceClass)
The DB instance class of the current RDS instance.
currentDBInstanceClass
- The DB instance class of the current RDS instance.public void setCurrentStorageConfiguration(DBStorageConfiguration currentStorageConfiguration)
The configuration of the current RDS storage.
currentStorageConfiguration
- The configuration of the current RDS storage.public DBStorageConfiguration getCurrentStorageConfiguration()
The configuration of the current RDS storage.
public RDSDBRecommendation withCurrentStorageConfiguration(DBStorageConfiguration currentStorageConfiguration)
The configuration of the current RDS storage.
currentStorageConfiguration
- The configuration of the current RDS storage.public void setIdle(String idle)
This indicates if the RDS instance is idle or not.
idle
- This indicates if the RDS instance is idle or not.Idle
public String getIdle()
This indicates if the RDS instance is idle or not.
Idle
public RDSDBRecommendation withIdle(String idle)
This indicates if the RDS instance is idle or not.
idle
- This indicates if the RDS instance is idle or not.Idle
public RDSDBRecommendation withIdle(Idle idle)
This indicates if the RDS instance is idle or not.
idle
- This indicates if the RDS instance is idle or not.Idle
public void setInstanceFinding(String instanceFinding)
The finding classification of an Amazon RDS instance.
Findings for Amazon RDS instance include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough resource
specifications, an Amazon RDS is considered under-provisioned.
Overprovisioned
— When Compute Optimizer detects that there’s excessive resource
specifications, an Amazon RDS is considered over-provisioned.
Optimized
— When the specifications of your Amazon RDS instance meet the performance
requirements of your workload, the service is considered optimized.
instanceFinding
- The finding classification of an Amazon RDS instance.
Findings for Amazon RDS instance include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough resource
specifications, an Amazon RDS is considered under-provisioned.
Overprovisioned
— When Compute Optimizer detects that there’s excessive resource
specifications, an Amazon RDS is considered over-provisioned.
Optimized
— When the specifications of your Amazon RDS instance meet the performance
requirements of your workload, the service is considered optimized.
RDSInstanceFinding
public String getInstanceFinding()
The finding classification of an Amazon RDS instance.
Findings for Amazon RDS instance include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough resource
specifications, an Amazon RDS is considered under-provisioned.
Overprovisioned
— When Compute Optimizer detects that there’s excessive resource
specifications, an Amazon RDS is considered over-provisioned.
Optimized
— When the specifications of your Amazon RDS instance meet the performance
requirements of your workload, the service is considered optimized.
Findings for Amazon RDS instance include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough resource
specifications, an Amazon RDS is considered under-provisioned.
Overprovisioned
— When Compute Optimizer detects that there’s excessive resource
specifications, an Amazon RDS is considered over-provisioned.
Optimized
— When the specifications of your Amazon RDS instance meet the
performance requirements of your workload, the service is considered optimized.
RDSInstanceFinding
public RDSDBRecommendation withInstanceFinding(String instanceFinding)
The finding classification of an Amazon RDS instance.
Findings for Amazon RDS instance include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough resource
specifications, an Amazon RDS is considered under-provisioned.
Overprovisioned
— When Compute Optimizer detects that there’s excessive resource
specifications, an Amazon RDS is considered over-provisioned.
Optimized
— When the specifications of your Amazon RDS instance meet the performance
requirements of your workload, the service is considered optimized.
instanceFinding
- The finding classification of an Amazon RDS instance.
Findings for Amazon RDS instance include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough resource
specifications, an Amazon RDS is considered under-provisioned.
Overprovisioned
— When Compute Optimizer detects that there’s excessive resource
specifications, an Amazon RDS is considered over-provisioned.
Optimized
— When the specifications of your Amazon RDS instance meet the performance
requirements of your workload, the service is considered optimized.
RDSInstanceFinding
public RDSDBRecommendation withInstanceFinding(RDSInstanceFinding instanceFinding)
The finding classification of an Amazon RDS instance.
Findings for Amazon RDS instance include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough resource
specifications, an Amazon RDS is considered under-provisioned.
Overprovisioned
— When Compute Optimizer detects that there’s excessive resource
specifications, an Amazon RDS is considered over-provisioned.
Optimized
— When the specifications of your Amazon RDS instance meet the performance
requirements of your workload, the service is considered optimized.
instanceFinding
- The finding classification of an Amazon RDS instance.
Findings for Amazon RDS instance include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough resource
specifications, an Amazon RDS is considered under-provisioned.
Overprovisioned
— When Compute Optimizer detects that there’s excessive resource
specifications, an Amazon RDS is considered over-provisioned.
Optimized
— When the specifications of your Amazon RDS instance meet the performance
requirements of your workload, the service is considered optimized.
RDSInstanceFinding
public void setStorageFinding(String storageFinding)
The finding classification of Amazon RDS storage.
Findings for Amazon RDS instance include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough storage, an
Amazon RDS is considered under-provisioned.
Overprovisioned
— When Compute Optimizer detects that there’s excessive storage, an Amazon
RDS is considered over-provisioned.
Optimized
— When the storage of your Amazon RDS meet the performance requirements of your
workload, the service is considered optimized.
storageFinding
- The finding classification of Amazon RDS storage.
Findings for Amazon RDS instance include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough storage,
an Amazon RDS is considered under-provisioned.
Overprovisioned
— When Compute Optimizer detects that there’s excessive storage, an
Amazon RDS is considered over-provisioned.
Optimized
— When the storage of your Amazon RDS meet the performance requirements of
your workload, the service is considered optimized.
RDSStorageFinding
public String getStorageFinding()
The finding classification of Amazon RDS storage.
Findings for Amazon RDS instance include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough storage, an
Amazon RDS is considered under-provisioned.
Overprovisioned
— When Compute Optimizer detects that there’s excessive storage, an Amazon
RDS is considered over-provisioned.
Optimized
— When the storage of your Amazon RDS meet the performance requirements of your
workload, the service is considered optimized.
Findings for Amazon RDS instance include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough storage,
an Amazon RDS is considered under-provisioned.
Overprovisioned
— When Compute Optimizer detects that there’s excessive storage, an
Amazon RDS is considered over-provisioned.
Optimized
— When the storage of your Amazon RDS meet the performance requirements
of your workload, the service is considered optimized.
RDSStorageFinding
public RDSDBRecommendation withStorageFinding(String storageFinding)
The finding classification of Amazon RDS storage.
Findings for Amazon RDS instance include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough storage, an
Amazon RDS is considered under-provisioned.
Overprovisioned
— When Compute Optimizer detects that there’s excessive storage, an Amazon
RDS is considered over-provisioned.
Optimized
— When the storage of your Amazon RDS meet the performance requirements of your
workload, the service is considered optimized.
storageFinding
- The finding classification of Amazon RDS storage.
Findings for Amazon RDS instance include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough storage,
an Amazon RDS is considered under-provisioned.
Overprovisioned
— When Compute Optimizer detects that there’s excessive storage, an
Amazon RDS is considered over-provisioned.
Optimized
— When the storage of your Amazon RDS meet the performance requirements of
your workload, the service is considered optimized.
RDSStorageFinding
public RDSDBRecommendation withStorageFinding(RDSStorageFinding storageFinding)
The finding classification of Amazon RDS storage.
Findings for Amazon RDS instance include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough storage, an
Amazon RDS is considered under-provisioned.
Overprovisioned
— When Compute Optimizer detects that there’s excessive storage, an Amazon
RDS is considered over-provisioned.
Optimized
— When the storage of your Amazon RDS meet the performance requirements of your
workload, the service is considered optimized.
storageFinding
- The finding classification of Amazon RDS storage.
Findings for Amazon RDS instance include:
Underprovisioned
— When Compute Optimizer detects that there’s not enough storage,
an Amazon RDS is considered under-provisioned.
Overprovisioned
— When Compute Optimizer detects that there’s excessive storage, an
Amazon RDS is considered over-provisioned.
Optimized
— When the storage of your Amazon RDS meet the performance requirements of
your workload, the service is considered optimized.
RDSStorageFinding
public List<String> getInstanceFindingReasonCodes()
The reason for the finding classification of an Amazon RDS instance.
RDSInstanceFindingReasonCode
public void setInstanceFindingReasonCodes(Collection<String> instanceFindingReasonCodes)
The reason for the finding classification of an Amazon RDS instance.
instanceFindingReasonCodes
- The reason for the finding classification of an Amazon RDS instance.RDSInstanceFindingReasonCode
public RDSDBRecommendation withInstanceFindingReasonCodes(String... instanceFindingReasonCodes)
The reason for the finding classification of an Amazon RDS instance.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceFindingReasonCodes(java.util.Collection)
or
withInstanceFindingReasonCodes(java.util.Collection)
if you want to override the existing values.
instanceFindingReasonCodes
- The reason for the finding classification of an Amazon RDS instance.RDSInstanceFindingReasonCode
public RDSDBRecommendation withInstanceFindingReasonCodes(Collection<String> instanceFindingReasonCodes)
The reason for the finding classification of an Amazon RDS instance.
instanceFindingReasonCodes
- The reason for the finding classification of an Amazon RDS instance.RDSInstanceFindingReasonCode
public RDSDBRecommendation withInstanceFindingReasonCodes(RDSInstanceFindingReasonCode... instanceFindingReasonCodes)
The reason for the finding classification of an Amazon RDS instance.
instanceFindingReasonCodes
- The reason for the finding classification of an Amazon RDS instance.RDSInstanceFindingReasonCode
public List<String> getStorageFindingReasonCodes()
The reason for the finding classification of Amazon RDS storage.
RDSStorageFindingReasonCode
public void setStorageFindingReasonCodes(Collection<String> storageFindingReasonCodes)
The reason for the finding classification of Amazon RDS storage.
storageFindingReasonCodes
- The reason for the finding classification of Amazon RDS storage.RDSStorageFindingReasonCode
public RDSDBRecommendation withStorageFindingReasonCodes(String... storageFindingReasonCodes)
The reason for the finding classification of Amazon RDS storage.
NOTE: This method appends the values to the existing list (if any). Use
setStorageFindingReasonCodes(java.util.Collection)
or
withStorageFindingReasonCodes(java.util.Collection)
if you want to override the existing values.
storageFindingReasonCodes
- The reason for the finding classification of Amazon RDS storage.RDSStorageFindingReasonCode
public RDSDBRecommendation withStorageFindingReasonCodes(Collection<String> storageFindingReasonCodes)
The reason for the finding classification of Amazon RDS storage.
storageFindingReasonCodes
- The reason for the finding classification of Amazon RDS storage.RDSStorageFindingReasonCode
public RDSDBRecommendation withStorageFindingReasonCodes(RDSStorageFindingReasonCode... storageFindingReasonCodes)
The reason for the finding classification of Amazon RDS storage.
storageFindingReasonCodes
- The reason for the finding classification of Amazon RDS storage.RDSStorageFindingReasonCode
public List<RDSDBInstanceRecommendationOption> getInstanceRecommendationOptions()
An array of objects that describe the recommendation options for the Amazon RDS instance.
public void setInstanceRecommendationOptions(Collection<RDSDBInstanceRecommendationOption> instanceRecommendationOptions)
An array of objects that describe the recommendation options for the Amazon RDS instance.
instanceRecommendationOptions
- An array of objects that describe the recommendation options for the Amazon RDS instance.public RDSDBRecommendation withInstanceRecommendationOptions(RDSDBInstanceRecommendationOption... instanceRecommendationOptions)
An array of objects that describe the recommendation options for the Amazon RDS instance.
NOTE: This method appends the values to the existing list (if any). Use
setInstanceRecommendationOptions(java.util.Collection)
or
withInstanceRecommendationOptions(java.util.Collection)
if you want to override the existing values.
instanceRecommendationOptions
- An array of objects that describe the recommendation options for the Amazon RDS instance.public RDSDBRecommendation withInstanceRecommendationOptions(Collection<RDSDBInstanceRecommendationOption> instanceRecommendationOptions)
An array of objects that describe the recommendation options for the Amazon RDS instance.
instanceRecommendationOptions
- An array of objects that describe the recommendation options for the Amazon RDS instance.public List<RDSDBStorageRecommendationOption> getStorageRecommendationOptions()
An array of objects that describe the recommendation options for Amazon RDS storage.
public void setStorageRecommendationOptions(Collection<RDSDBStorageRecommendationOption> storageRecommendationOptions)
An array of objects that describe the recommendation options for Amazon RDS storage.
storageRecommendationOptions
- An array of objects that describe the recommendation options for Amazon RDS storage.public RDSDBRecommendation withStorageRecommendationOptions(RDSDBStorageRecommendationOption... storageRecommendationOptions)
An array of objects that describe the recommendation options for Amazon RDS storage.
NOTE: This method appends the values to the existing list (if any). Use
setStorageRecommendationOptions(java.util.Collection)
or
withStorageRecommendationOptions(java.util.Collection)
if you want to override the existing values.
storageRecommendationOptions
- An array of objects that describe the recommendation options for Amazon RDS storage.public RDSDBRecommendation withStorageRecommendationOptions(Collection<RDSDBStorageRecommendationOption> storageRecommendationOptions)
An array of objects that describe the recommendation options for Amazon RDS storage.
storageRecommendationOptions
- An array of objects that describe the recommendation options for Amazon RDS storage.public List<RDSDBUtilizationMetric> getUtilizationMetrics()
An array of objects that describe the utilization metrics of the Amazon RDS.
public void setUtilizationMetrics(Collection<RDSDBUtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the Amazon RDS.
utilizationMetrics
- An array of objects that describe the utilization metrics of the Amazon RDS.public RDSDBRecommendation withUtilizationMetrics(RDSDBUtilizationMetric... utilizationMetrics)
An array of objects that describe the utilization metrics of the Amazon RDS.
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 RDS.public RDSDBRecommendation withUtilizationMetrics(Collection<RDSDBUtilizationMetric> utilizationMetrics)
An array of objects that describe the utilization metrics of the Amazon RDS.
utilizationMetrics
- An array of objects that describe the utilization metrics of the Amazon RDS.public void setEffectiveRecommendationPreferences(RDSEffectiveRecommendationPreferences effectiveRecommendationPreferences)
Describes the effective recommendation preferences for Amazon RDS.
effectiveRecommendationPreferences
- Describes the effective recommendation preferences for Amazon RDS.public RDSEffectiveRecommendationPreferences getEffectiveRecommendationPreferences()
Describes the effective recommendation preferences for Amazon RDS.
public RDSDBRecommendation withEffectiveRecommendationPreferences(RDSEffectiveRecommendationPreferences effectiveRecommendationPreferences)
Describes the effective recommendation preferences for Amazon RDS.
effectiveRecommendationPreferences
- Describes the effective recommendation preferences for Amazon RDS.public void setLookbackPeriodInDays(Double lookbackPeriodInDays)
The number of days the Amazon RDS utilization metrics were analyzed.
lookbackPeriodInDays
- The number of days the Amazon RDS utilization metrics were analyzed.public Double getLookbackPeriodInDays()
The number of days the Amazon RDS utilization metrics were analyzed.
public RDSDBRecommendation withLookbackPeriodInDays(Double lookbackPeriodInDays)
The number of days the Amazon RDS utilization metrics were analyzed.
lookbackPeriodInDays
- The number of days the Amazon RDS utilization metrics were analyzed.public void setLastRefreshTimestamp(Date lastRefreshTimestamp)
The timestamp of when the Amazon RDS recommendation was last generated.
lastRefreshTimestamp
- The timestamp of when the Amazon RDS recommendation was last generated.public Date getLastRefreshTimestamp()
The timestamp of when the Amazon RDS recommendation was last generated.
public RDSDBRecommendation withLastRefreshTimestamp(Date lastRefreshTimestamp)
The timestamp of when the Amazon RDS recommendation was last generated.
lastRefreshTimestamp
- The timestamp of when the Amazon RDS recommendation was last generated.public List<Tag> getTags()
A list of tags assigned to your Amazon RDS recommendations.
public void setTags(Collection<Tag> tags)
A list of tags assigned to your Amazon RDS recommendations.
tags
- A list of tags assigned to your Amazon RDS recommendations.public RDSDBRecommendation withTags(Tag... tags)
A list of tags assigned to your Amazon RDS 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 RDS recommendations.public RDSDBRecommendation withTags(Collection<Tag> tags)
A list of tags assigned to your Amazon RDS recommendations.
tags
- A list of tags assigned to your Amazon RDS recommendations.public String toString()
toString
in class Object
Object.toString()
public RDSDBRecommendation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.