@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RDSStorageEstimatedMonthlySavings extends Object implements Serializable, Cloneable, StructuredPojo
Describes the estimated monthly savings possible for Amazon RDS storage by adopting Compute Optimizer recommendations. This is based on Amazon RDS pricing after applying Savings Plans discounts.
| Constructor and Description |
|---|
RDSStorageEstimatedMonthlySavings() |
| Modifier and Type | Method and Description |
|---|---|
RDSStorageEstimatedMonthlySavings |
clone() |
boolean |
equals(Object obj) |
String |
getCurrency()
The currency of the estimated monthly savings.
|
Double |
getValue()
The value of the estimated monthly savings for Amazon RDS storage.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCurrency(String currency)
The currency of the estimated monthly savings.
|
void |
setValue(Double value)
The value of the estimated monthly savings for Amazon RDS storage.
|
String |
toString()
Returns a string representation of this object.
|
RDSStorageEstimatedMonthlySavings |
withCurrency(Currency currency)
The currency of the estimated monthly savings.
|
RDSStorageEstimatedMonthlySavings |
withCurrency(String currency)
The currency of the estimated monthly savings.
|
RDSStorageEstimatedMonthlySavings |
withValue(Double value)
The value of the estimated monthly savings for Amazon RDS storage.
|
public void setCurrency(String currency)
The currency of the estimated monthly savings.
currency - The currency of the estimated monthly savings.Currencypublic String getCurrency()
The currency of the estimated monthly savings.
Currencypublic RDSStorageEstimatedMonthlySavings withCurrency(String currency)
The currency of the estimated monthly savings.
currency - The currency of the estimated monthly savings.Currencypublic RDSStorageEstimatedMonthlySavings withCurrency(Currency currency)
The currency of the estimated monthly savings.
currency - The currency of the estimated monthly savings.Currencypublic void setValue(Double value)
The value of the estimated monthly savings for Amazon RDS storage.
value - The value of the estimated monthly savings for Amazon RDS storage.public Double getValue()
The value of the estimated monthly savings for Amazon RDS storage.
public RDSStorageEstimatedMonthlySavings withValue(Double value)
The value of the estimated monthly savings for Amazon RDS storage.
value - The value of the estimated monthly savings for Amazon RDS storage.public String toString()
toString in class ObjectObject.toString()public RDSStorageEstimatedMonthlySavings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.