Class SavingsPlansPricing
- java.lang.Object
-
- software.amazon.awssdk.services.costoptimizationhub.model.SavingsPlansPricing
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SavingsPlansPricing.Builder,SavingsPlansPricing>
@Generated("software.amazon.awssdk:codegen") public final class SavingsPlansPricing extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SavingsPlansPricing.Builder,SavingsPlansPricing>
Pricing information about a Savings Plan.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSavingsPlansPricing.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SavingsPlansPricing.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)DoubleestimatedMonthlyCommitment()Estimated monthly commitment for the Savings Plan.DoubleestimatedOnDemandCost()Estimated On-Demand cost you will pay after buying the Savings Plan.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()DoublemonthlySavingsPlansEligibleCost()The cost of paying for the recommended Savings Plan monthly.DoublesavingsPercentage()Estimated savings as a percentage of your overall costs after buying the Savings Plan.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends SavingsPlansPricing.Builder>serializableBuilderClass()SavingsPlansPricing.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
-
monthlySavingsPlansEligibleCost
public final Double monthlySavingsPlansEligibleCost()
The cost of paying for the recommended Savings Plan monthly.
- Returns:
- The cost of paying for the recommended Savings Plan monthly.
-
estimatedMonthlyCommitment
public final Double estimatedMonthlyCommitment()
Estimated monthly commitment for the Savings Plan.
- Returns:
- Estimated monthly commitment for the Savings Plan.
-
savingsPercentage
public final Double savingsPercentage()
Estimated savings as a percentage of your overall costs after buying the Savings Plan.
- Returns:
- Estimated savings as a percentage of your overall costs after buying the Savings Plan.
-
estimatedOnDemandCost
public final Double estimatedOnDemandCost()
Estimated On-Demand cost you will pay after buying the Savings Plan.
- Returns:
- Estimated On-Demand cost you will pay after buying the Savings Plan.
-
toBuilder
public SavingsPlansPricing.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SavingsPlansPricing.Builder,SavingsPlansPricing>
-
builder
public static SavingsPlansPricing.Builder builder()
-
serializableBuilderClass
public static Class<? extends SavingsPlansPricing.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
-
-