Class ReservationAggregates
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ReservationAggregates.Builder,
ReservationAggregates>
The aggregated numbers for your reservation usage.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal String
The monthly cost of your reservation.final String
The upfront cost of your reservation.builder()
final boolean
final boolean
equalsBySdkFields
(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) final int
hashCode()
final String
How much you saved due to purchasing and utilizing reservation.final String
How much your reservation costs if charged On-Demand rates.final String
How many reservation hours that you purchased.final String
The number of Amazon EC2 reservation hours that you purchased.final String
The realized savings because of purchasing and using a reservation.final String
The cost of unused hours for your reservation.static Class
<? extends ReservationAggregates.Builder> Take this object and create a builder that contains all of the current property values of this object.final String
toString()
Returns a string representation of this object.final String
The total number of reservation hours that you used.final String
The total number of Amazon EC2 reservation hours that you used.final String
The total cost of your reservation.final String
How much you might save if you use your entire reservation.final String
The unrealized savings because of purchasing and using a reservation.final String
The number of reservation hours that you didn't use.final String
The number of Amazon EC2 reservation hours that you didn't use.final String
The percentage of reservation time that you used.final String
The percentage of Amazon EC2 reservation time that you used.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
utilizationPercentage
The percentage of reservation time that you used.
- Returns:
- The percentage of reservation time that you used.
-
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
How many reservation hours that you purchased.
- Returns:
- How many reservation hours that you purchased.
-
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
The total number of reservation hours that you used.
- Returns:
- The total number of reservation hours that you used.
-
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
The number of reservation hours that you didn't use.
- Returns:
- The number of reservation hours that you didn't use.
-
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
How much your reservation costs if charged On-Demand rates.
- Returns:
- How much your reservation costs if charged On-Demand rates.
-
netRISavings
How much you saved due to purchasing and utilizing reservation. Amazon Web Services calculates this by subtracting
TotalAmortizedFee
fromOnDemandCostOfRIHoursUsed
.- Returns:
- How much you saved due to purchasing and utilizing reservation. Amazon Web Services calculates this by
subtracting
TotalAmortizedFee
fromOnDemandCostOfRIHoursUsed
.
-
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
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
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
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
The cost of unused hours for your reservation.
- Returns:
- The cost of unused hours for your reservation.
-
realizedSavings
The realized savings because of purchasing and using a reservation.
- Returns:
- The realized savings because of purchasing and using a reservation.
-
unrealizedSavings
The unrealized savings because of purchasing and using a reservation.
- Returns:
- The unrealized savings because of purchasing and using a reservation.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ReservationAggregates.Builder,
ReservationAggregates> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
Description copied from interface:SdkPojo
Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in interfaceSdkPojo
- Parameters:
obj
- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
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. -
getValueForField
-
sdkFields
-