Class ReservationAggregates
- java.lang.Object
-
- software.amazon.awssdk.services.costexplorer.model.ReservationAggregates
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReservationAggregates.Builder,ReservationAggregates>
@Generated("software.amazon.awssdk:codegen") public final class ReservationAggregates extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReservationAggregates.Builder,ReservationAggregates>
The aggregated numbers for your reservation usage.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReservationAggregates.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringamortizedRecurringFee()The monthly cost of your reservation.StringamortizedUpfrontFee()The upfront cost of your reservation.static ReservationAggregates.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringnetRISavings()How much you saved due to purchasing and utilizing reservation.StringonDemandCostOfRIHoursUsed()How much your reservation costs if charged On-Demand rates.StringpurchasedHours()How many reservation hours that you purchased.StringpurchasedUnits()The number of Amazon EC2 reservation hours that you purchased.StringrealizedSavings()The realized savings because of purchasing and using a reservation.StringriCostForUnusedHours()The cost of unused hours for your reservation.List<SdkField<?>>sdkFields()static Class<? extends ReservationAggregates.Builder>serializableBuilderClass()ReservationAggregates.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtotalActualHours()The total number of reservation hours that you used.StringtotalActualUnits()The total number of Amazon EC2 reservation hours that you used.StringtotalAmortizedFee()The total cost of your reservation.StringtotalPotentialRISavings()How much you might save if you use your entire reservation.StringunrealizedSavings()The unrealized savings because of purchasing and using a reservation.StringunusedHours()The number of reservation hours that you didn't use.StringunusedUnits()The number of Amazon EC2 reservation hours that you didn't use.StringutilizationPercentage()The percentage of reservation time that you used.StringutilizationPercentageInUnits()The percentage of Amazon EC2 reservation time that you used.-
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
-
utilizationPercentage
public final String utilizationPercentage()
The percentage of reservation time that you used.
- Returns:
- The percentage of reservation time that you used.
-
utilizationPercentageInUnits
public final String utilizationPercentageInUnits()
The percentage of Amazon EC2 reservation time that you used. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.
- Returns:
- The percentage of Amazon EC2 reservation time that you used. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.
-
purchasedHours
public final String purchasedHours()
How many reservation hours that you purchased.
- Returns:
- How many reservation hours that you purchased.
-
purchasedUnits
public final String purchasedUnits()
The number of Amazon EC2 reservation hours that you purchased. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.
- Returns:
- The number of Amazon EC2 reservation hours that you purchased. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.
-
totalActualHours
public final String totalActualHours()
The total number of reservation hours that you used.
- Returns:
- The total number of reservation hours that you used.
-
totalActualUnits
public final String totalActualUnits()
The total number of Amazon EC2 reservation hours that you used. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.
- Returns:
- The total number of Amazon EC2 reservation hours that you used. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.
-
unusedHours
public final String unusedHours()
The number of reservation hours that you didn't use.
- Returns:
- The number of reservation hours that you didn't use.
-
unusedUnits
public final String unusedUnits()
The number of Amazon EC2 reservation hours that you didn't use. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.
- Returns:
- The number of Amazon EC2 reservation hours that you didn't use. It's converted to normalized units. Normalized units are available only for Amazon EC2 usage after November 11, 2017.
-
onDemandCostOfRIHoursUsed
public final String onDemandCostOfRIHoursUsed()
How much your reservation costs if charged On-Demand rates.
- Returns:
- How much your reservation costs if charged On-Demand rates.
-
netRISavings
public final String netRISavings()
How much you saved due to purchasing and utilizing reservation. Amazon Web Services calculates this by subtracting
TotalAmortizedFeefromOnDemandCostOfRIHoursUsed.- Returns:
- How much you saved due to purchasing and utilizing reservation. Amazon Web Services calculates this by
subtracting
TotalAmortizedFeefromOnDemandCostOfRIHoursUsed.
-
totalPotentialRISavings
public final String totalPotentialRISavings()
How much you might save if you use your entire reservation.
- Returns:
- How much you might save if you use your entire reservation.
-
amortizedUpfrontFee
public final String amortizedUpfrontFee()
The upfront cost of your reservation. It's amortized over the reservation period.
- Returns:
- The upfront cost of your reservation. It's amortized over the reservation period.
-
amortizedRecurringFee
public final String amortizedRecurringFee()
The monthly cost of your reservation. It's amortized over the reservation period.
- Returns:
- The monthly cost of your reservation. It's amortized over the reservation period.
-
totalAmortizedFee
public final String totalAmortizedFee()
The total cost of your reservation. It's amortized over the reservation period.
- Returns:
- The total cost of your reservation. It's amortized over the reservation period.
-
riCostForUnusedHours
public final String riCostForUnusedHours()
The cost of unused hours for your reservation.
- Returns:
- The cost of unused hours for your reservation.
-
realizedSavings
public final String realizedSavings()
The realized savings because of purchasing and using a reservation.
- Returns:
- The realized savings because of purchasing and using a reservation.
-
unrealizedSavings
public final String unrealizedSavings()
The unrealized savings because of purchasing and using a reservation.
- Returns:
- The unrealized savings because of purchasing and using a reservation.
-
toBuilder
public ReservationAggregates.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReservationAggregates.Builder,ReservationAggregates>
-
builder
public static ReservationAggregates.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReservationAggregates.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.
-
-