Class SavingsPlansPurchaseRecommendationSummary
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SavingsPlansPurchaseRecommendationSummary.Builder,SavingsPlansPurchaseRecommendationSummary>
Summary metrics for your Savings Plans Purchase Recommendations.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe currency code that Amazon Web Services used to generate the recommendations and present potential savings.final StringThe current total on demand spend of the applicable usage types over the lookback period.final StringThe recommended Savings Plans cost on a daily (24 hourly) basis.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final StringThe estimated monthly savings amount that's based on the recommended Savings Plans purchase.final StringThe estimated On-Demand costs you expect with no additional commitment.final StringThe estimated return on investment that's based on the recommended Savings Plans and estimated savings.final StringThe estimated total savings over the lookback period, based on the purchase of the recommended Savings Plans.final StringThe estimated savings relative to the total cost of On-Demand usage, over the lookback period.final StringThe estimated total cost of the usage after purchasing the recommended Savings Plans.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe recommended hourly commitment that's based on the recommendation parameters.static Class<? extends SavingsPlansPurchaseRecommendationSummary.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final StringThe aggregate number of Savings Plans recommendations that exist for your account.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
estimatedROI
The estimated return on investment that's based on the recommended Savings Plans and estimated savings.
- Returns:
- The estimated return on investment that's based on the recommended Savings Plans and estimated savings.
-
currencyCode
The currency code that Amazon Web Services used to generate the recommendations and present potential savings.
- Returns:
- The currency code that Amazon Web Services used to generate the recommendations and present potential savings.
-
estimatedTotalCost
The estimated total cost of the usage after purchasing the recommended Savings Plans. This is a sum of the cost of Savings Plans during this term, and the remaining On-Demand usage.
- Returns:
- The estimated total cost of the usage after purchasing the recommended Savings Plans. This is a sum of the cost of Savings Plans during this term, and the remaining On-Demand usage.
-
currentOnDemandSpend
The current total on demand spend of the applicable usage types over the lookback period.
- Returns:
- The current total on demand spend of the applicable usage types over the lookback period.
-
estimatedSavingsAmount
The estimated total savings over the lookback period, based on the purchase of the recommended Savings Plans.
- Returns:
- The estimated total savings over the lookback period, based on the purchase of the recommended Savings Plans.
-
totalRecommendationCount
The aggregate number of Savings Plans recommendations that exist for your account.
- Returns:
- The aggregate number of Savings Plans recommendations that exist for your account.
-
dailyCommitmentToPurchase
The recommended Savings Plans cost on a daily (24 hourly) basis.
- Returns:
- The recommended Savings Plans cost on a daily (24 hourly) basis.
-
hourlyCommitmentToPurchase
The recommended hourly commitment that's based on the recommendation parameters.
- Returns:
- The recommended hourly commitment that's based on the recommendation parameters.
-
estimatedSavingsPercentage
The estimated savings relative to the total cost of On-Demand usage, over the lookback period. This is calculated as
estimatedSavingsAmount/CurrentOnDemandSpend*100.- Returns:
- The estimated savings relative to the total cost of On-Demand usage, over the lookback period. This is
calculated as
estimatedSavingsAmount/CurrentOnDemandSpend*100.
-
estimatedMonthlySavingsAmount
The estimated monthly savings amount that's based on the recommended Savings Plans purchase.
- Returns:
- The estimated monthly savings amount that's based on the recommended Savings Plans purchase.
-
estimatedOnDemandCostWithCurrentCommitment
The estimated On-Demand costs you expect with no additional commitment. It's based on your usage of the selected time period and the Savings Plans you own.
- Returns:
- The estimated On-Demand costs you expect with no additional commitment. It's based on your usage of the selected time period and the Savings Plans you own.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<SavingsPlansPurchaseRecommendationSummary.Builder,SavingsPlansPurchaseRecommendationSummary> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
public static Class<? extends SavingsPlansPurchaseRecommendationSummary.Builder> serializableBuilderClass() -
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin 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
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-