Class ReservedInstancesPricing
- java.lang.Object
-
- software.amazon.awssdk.services.costoptimizationhub.model.ReservedInstancesPricing
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReservedInstancesPricing.Builder,ReservedInstancesPricing>
@Generated("software.amazon.awssdk:codegen") public final class ReservedInstancesPricing extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReservedInstancesPricing.Builder,ReservedInstancesPricing>
Pricing details for your recommended reserved instance.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReservedInstancesPricing.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ReservedInstancesPricing.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)DoubleestimatedMonthlyAmortizedReservationCost()The estimated cost of your recurring monthly fees for the recommended reserved instance across the month.DoubleestimatedOnDemandCost()The remaining On-Demand cost estimated to not be covered by the recommended reserved instance, over the length of the lookback period.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()DoublemonthlyReservationEligibleCost()The cost of paying for the recommended reserved instance monthly.DoublesavingsPercentage()The savings percentage relative to the total On-Demand costs that are associated with this instance.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ReservedInstancesPricing.Builder>serializableBuilderClass()ReservedInstancesPricing.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
-
estimatedOnDemandCost
public final Double estimatedOnDemandCost()
The remaining On-Demand cost estimated to not be covered by the recommended reserved instance, over the length of the lookback period.
- Returns:
- The remaining On-Demand cost estimated to not be covered by the recommended reserved instance, over the length of the lookback period.
-
monthlyReservationEligibleCost
public final Double monthlyReservationEligibleCost()
The cost of paying for the recommended reserved instance monthly.
- Returns:
- The cost of paying for the recommended reserved instance monthly.
-
savingsPercentage
public final Double savingsPercentage()
The savings percentage relative to the total On-Demand costs that are associated with this instance.
- Returns:
- The savings percentage relative to the total On-Demand costs that are associated with this instance.
-
estimatedMonthlyAmortizedReservationCost
public final Double estimatedMonthlyAmortizedReservationCost()
The estimated cost of your recurring monthly fees for the recommended reserved instance across the month.
- Returns:
- The estimated cost of your recurring monthly fees for the recommended reserved instance across the month.
-
toBuilder
public ReservedInstancesPricing.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReservedInstancesPricing.Builder,ReservedInstancesPricing>
-
builder
public static ReservedInstancesPricing.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReservedInstancesPricing.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
-
-