Class SavingsPlansSavings
- java.lang.Object
-
- software.amazon.awssdk.services.costexplorer.model.SavingsPlansSavings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SavingsPlansSavings.Builder,SavingsPlansSavings>
@Generated("software.amazon.awssdk:codegen") public final class SavingsPlansSavings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SavingsPlansSavings.Builder,SavingsPlansSavings>
The amount of savings that you're accumulating, against the public On-Demand rate of the usage accrued in an account.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSavingsPlansSavings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SavingsPlansSavings.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnetSavings()The savings amount that you're accumulating for the usage that's covered by a Savings Plans, when compared to the On-Demand equivalent of the same usage.StringonDemandCostEquivalent()How much the amount that the usage would have cost if it was accrued at the On-Demand rate.List<SdkField<?>>sdkFields()static Class<? extends SavingsPlansSavings.Builder>serializableBuilderClass()SavingsPlansSavings.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
-
netSavings
public final String netSavings()
The savings amount that you're accumulating for the usage that's covered by a Savings Plans, when compared to the On-Demand equivalent of the same usage.
- Returns:
- The savings amount that you're accumulating for the usage that's covered by a Savings Plans, when compared to the On-Demand equivalent of the same usage.
-
onDemandCostEquivalent
public final String onDemandCostEquivalent()
How much the amount that the usage would have cost if it was accrued at the On-Demand rate.
- Returns:
- How much the amount that the usage would have cost if it was accrued at the On-Demand rate.
-
toBuilder
public SavingsPlansSavings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SavingsPlansSavings.Builder,SavingsPlansSavings>
-
builder
public static SavingsPlansSavings.Builder builder()
-
serializableBuilderClass
public static Class<? extends SavingsPlansSavings.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.
-
-