Class RDSInstanceSavingsOpportunityAfterDiscounts
- java.lang.Object
-
- software.amazon.awssdk.services.computeoptimizer.model.RDSInstanceSavingsOpportunityAfterDiscounts
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<RDSInstanceSavingsOpportunityAfterDiscounts.Builder,RDSInstanceSavingsOpportunityAfterDiscounts>
@Generated("software.amazon.awssdk:codegen") public final class RDSInstanceSavingsOpportunityAfterDiscounts extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RDSInstanceSavingsOpportunityAfterDiscounts.Builder,RDSInstanceSavingsOpportunityAfterDiscounts>
Describes the savings opportunity for Amazon RDS instance recommendations after applying Savings Plans discounts.
Savings opportunity represents the estimated monthly savings after applying Savings Plans discounts. You can achieve this by implementing a given Compute Optimizer recommendation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceRDSInstanceSavingsOpportunityAfterDiscounts.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RDSInstanceSavingsOpportunityAfterDiscounts.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)RDSInstanceEstimatedMonthlySavingsestimatedMonthlySavings()The estimated monthly savings possible by adopting Compute Optimizer’s Amazon RDS instance recommendations.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()DoublesavingsOpportunityPercentage()The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon RDS instance recommendations.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends RDSInstanceSavingsOpportunityAfterDiscounts.Builder>serializableBuilderClass()RDSInstanceSavingsOpportunityAfterDiscounts.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
savingsOpportunityPercentage
public final Double savingsOpportunityPercentage()
The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon RDS instance recommendations. This includes any applicable Savings Plans discounts.
- Returns:
- The estimated monthly savings possible as a percentage of monthly cost by adopting Compute Optimizer’s Amazon RDS instance recommendations. This includes any applicable Savings Plans discounts.
-
estimatedMonthlySavings
public final RDSInstanceEstimatedMonthlySavings estimatedMonthlySavings()
The estimated monthly savings possible by adopting Compute Optimizer’s Amazon RDS instance recommendations. This includes any applicable Savings Plans discounts.
- Returns:
- The estimated monthly savings possible by adopting Compute Optimizer’s Amazon RDS instance recommendations. This includes any applicable Savings Plans discounts.
-
toBuilder
public RDSInstanceSavingsOpportunityAfterDiscounts.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<RDSInstanceSavingsOpportunityAfterDiscounts.Builder,RDSInstanceSavingsOpportunityAfterDiscounts>
-
builder
public static RDSInstanceSavingsOpportunityAfterDiscounts.Builder builder()
-
serializableBuilderClass
public static Class<? extends RDSInstanceSavingsOpportunityAfterDiscounts.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
-
-