Class ReservationPurchaseRecommendationDetail
- java.lang.Object
-
- software.amazon.awssdk.services.costexplorer.model.ReservationPurchaseRecommendationDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ReservationPurchaseRecommendationDetail.Builder,ReservationPurchaseRecommendationDetail>
@Generated("software.amazon.awssdk:codegen") public final class ReservationPurchaseRecommendationDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ReservationPurchaseRecommendationDetail.Builder,ReservationPurchaseRecommendationDetail>
Details about your recommended reservation purchase.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceReservationPurchaseRecommendationDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()The account that this Reserved Instance (RI) recommendation is for.StringaverageNormalizedUnitsUsedPerHour()The average number of normalized units that you used in an hour during the historical period.StringaverageNumberOfInstancesUsedPerHour()The average number of instances that you used in an hour during the historical period.StringaverageUtilization()The average utilization of your instances.static ReservationPurchaseRecommendationDetail.Builderbuilder()StringcurrencyCode()The currency code that Amazon Web Services used to calculate the costs for this instance.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringestimatedBreakEvenInMonths()How long Amazon Web Services estimates that it takes for this instance to start saving you money, in months.StringestimatedMonthlyOnDemandCost()How much Amazon Web Services estimates that you spend on On-Demand Instances in a month.StringestimatedMonthlySavingsAmount()How much Amazon Web Services estimates that this specific recommendation might save you in a month.StringestimatedMonthlySavingsPercentage()How much Amazon Web Services estimates that this specific recommendation might save you in a month, as a percentage of your overall costs.StringestimatedReservationCostForLookbackPeriod()How much Amazon Web Services estimates that you might spend for all usage during the specified historical period if you had a reservation.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstanceDetailsinstanceDetails()Details about the reservations that Amazon Web Services recommends that you purchase.StringmaximumNormalizedUnitsUsedPerHour()The maximum number of normalized units that you used in an hour during the historical period.StringmaximumNumberOfInstancesUsedPerHour()The maximum number of instances that you used in an hour during the historical period.StringminimumNormalizedUnitsUsedPerHour()The minimum number of normalized units that you used in an hour during the historical period.StringminimumNumberOfInstancesUsedPerHour()The minimum number of instances that you used in an hour during the historical period.StringrecommendedNormalizedUnitsToPurchase()The number of normalized units that Amazon Web Services recommends that you purchase.StringrecommendedNumberOfInstancesToPurchase()The number of instances that Amazon Web Services recommends that you purchase.StringrecurringStandardMonthlyCost()How much purchasing this instance costs you on a monthly basis.List<SdkField<?>>sdkFields()static Class<? extends ReservationPurchaseRecommendationDetail.Builder>serializableBuilderClass()ReservationPurchaseRecommendationDetail.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringupfrontCost()How much purchasing this instance costs you upfront.-
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
-
accountId
public final String accountId()
The account that this Reserved Instance (RI) recommendation is for.
- Returns:
- The account that this Reserved Instance (RI) recommendation is for.
-
instanceDetails
public final InstanceDetails instanceDetails()
Details about the reservations that Amazon Web Services recommends that you purchase.
- Returns:
- Details about the reservations that Amazon Web Services recommends that you purchase.
-
recommendedNumberOfInstancesToPurchase
public final String recommendedNumberOfInstancesToPurchase()
The number of instances that Amazon Web Services recommends that you purchase.
- Returns:
- The number of instances that Amazon Web Services recommends that you purchase.
-
recommendedNormalizedUnitsToPurchase
public final String recommendedNormalizedUnitsToPurchase()
The number of normalized units that Amazon Web Services recommends that you purchase.
- Returns:
- The number of normalized units that Amazon Web Services recommends that you purchase.
-
minimumNumberOfInstancesUsedPerHour
public final String minimumNumberOfInstancesUsedPerHour()
The minimum number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
- Returns:
- The minimum number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
-
minimumNormalizedUnitsUsedPerHour
public final String minimumNormalizedUnitsUsedPerHour()
The minimum number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
- Returns:
- The minimum number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
-
maximumNumberOfInstancesUsedPerHour
public final String maximumNumberOfInstancesUsedPerHour()
The maximum number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
- Returns:
- The maximum number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
-
maximumNormalizedUnitsUsedPerHour
public final String maximumNormalizedUnitsUsedPerHour()
The maximum number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
- Returns:
- The maximum number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
-
averageNumberOfInstancesUsedPerHour
public final String averageNumberOfInstancesUsedPerHour()
The average number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
- Returns:
- The average number of instances that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
-
averageNormalizedUnitsUsedPerHour
public final String averageNormalizedUnitsUsedPerHour()
The average number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
- Returns:
- The average number of normalized units that you used in an hour during the historical period. Amazon Web Services uses this to calculate your recommended reservation purchases.
-
averageUtilization
public final String averageUtilization()
The average utilization of your instances. Amazon Web Services uses this to calculate your recommended reservation purchases.
- Returns:
- The average utilization of your instances. Amazon Web Services uses this to calculate your recommended reservation purchases.
-
estimatedBreakEvenInMonths
public final String estimatedBreakEvenInMonths()
How long Amazon Web Services estimates that it takes for this instance to start saving you money, in months.
- Returns:
- How long Amazon Web Services estimates that it takes for this instance to start saving you money, in months.
-
currencyCode
public final String currencyCode()
The currency code that Amazon Web Services used to calculate the costs for this instance.
- Returns:
- The currency code that Amazon Web Services used to calculate the costs for this instance.
-
estimatedMonthlySavingsAmount
public final String estimatedMonthlySavingsAmount()
How much Amazon Web Services estimates that this specific recommendation might save you in a month.
- Returns:
- How much Amazon Web Services estimates that this specific recommendation might save you in a month.
-
estimatedMonthlySavingsPercentage
public final String estimatedMonthlySavingsPercentage()
How much Amazon Web Services estimates that this specific recommendation might save you in a month, as a percentage of your overall costs.
- Returns:
- How much Amazon Web Services estimates that this specific recommendation might save you in a month, as a percentage of your overall costs.
-
estimatedMonthlyOnDemandCost
public final String estimatedMonthlyOnDemandCost()
How much Amazon Web Services estimates that you spend on On-Demand Instances in a month.
- Returns:
- How much Amazon Web Services estimates that you spend on On-Demand Instances in a month.
-
estimatedReservationCostForLookbackPeriod
public final String estimatedReservationCostForLookbackPeriod()
How much Amazon Web Services estimates that you might spend for all usage during the specified historical period if you had a reservation.
- Returns:
- How much Amazon Web Services estimates that you might spend for all usage during the specified historical period if you had a reservation.
-
upfrontCost
public final String upfrontCost()
How much purchasing this instance costs you upfront.
- Returns:
- How much purchasing this instance costs you upfront.
-
recurringStandardMonthlyCost
public final String recurringStandardMonthlyCost()
How much purchasing this instance costs you on a monthly basis.
- Returns:
- How much purchasing this instance costs you on a monthly basis.
-
toBuilder
public ReservationPurchaseRecommendationDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ReservationPurchaseRecommendationDetail.Builder,ReservationPurchaseRecommendationDetail>
-
builder
public static ReservationPurchaseRecommendationDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends ReservationPurchaseRecommendationDetail.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.
-
-