Class RDSInstanceEstimatedMonthlySavings
- java.lang.Object
-
- software.amazon.awssdk.services.computeoptimizer.model.RDSInstanceEstimatedMonthlySavings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RDSInstanceEstimatedMonthlySavings.Builder,RDSInstanceEstimatedMonthlySavings>
@Generated("software.amazon.awssdk:codegen") public final class RDSInstanceEstimatedMonthlySavings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RDSInstanceEstimatedMonthlySavings.Builder,RDSInstanceEstimatedMonthlySavings>
Describes the estimated monthly savings possible for Amazon RDS instances by adopting Compute Optimizer recommendations. This is based on Amazon RDS pricing after applying Savings Plans discounts.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRDSInstanceEstimatedMonthlySavings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RDSInstanceEstimatedMonthlySavings.Builderbuilder()Currencycurrency()The currency of the estimated monthly savings.StringcurrencyAsString()The currency of the estimated monthly savings.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RDSInstanceEstimatedMonthlySavings.Builder>serializableBuilderClass()RDSInstanceEstimatedMonthlySavings.BuildertoBuilder()StringtoString()Returns a string representation of this object.Doublevalue()The value of the estimated monthly savings for Amazon RDS instances.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
currency
public final Currency currency()
The currency of the estimated monthly savings.
If the service returns an enum value that is not available in the current SDK version,
currencywill returnCurrency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcurrencyAsString().- Returns:
- The currency of the estimated monthly savings.
- See Also:
Currency
-
currencyAsString
public final String currencyAsString()
The currency of the estimated monthly savings.
If the service returns an enum value that is not available in the current SDK version,
currencywill returnCurrency.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcurrencyAsString().- Returns:
- The currency of the estimated monthly savings.
- See Also:
Currency
-
value
public final Double value()
The value of the estimated monthly savings for Amazon RDS instances.
- Returns:
- The value of the estimated monthly savings for Amazon RDS instances.
-
toBuilder
public RDSInstanceEstimatedMonthlySavings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RDSInstanceEstimatedMonthlySavings.Builder,RDSInstanceEstimatedMonthlySavings>
-
builder
public static RDSInstanceEstimatedMonthlySavings.Builder builder()
-
serializableBuilderClass
public static Class<? extends RDSInstanceEstimatedMonthlySavings.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-