Class SavingsPlansPurchaseRecommendationSummary
- java.lang.Object
-
- software.amazon.awssdk.services.costexplorer.model.SavingsPlansPurchaseRecommendationSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SavingsPlansPurchaseRecommendationSummary.Builder,SavingsPlansPurchaseRecommendationSummary>
@Generated("software.amazon.awssdk:codegen") public final class SavingsPlansPurchaseRecommendationSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SavingsPlansPurchaseRecommendationSummary.Builder,SavingsPlansPurchaseRecommendationSummary>
Summary metrics for your Savings Plans Purchase Recommendations.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSavingsPlansPurchaseRecommendationSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SavingsPlansPurchaseRecommendationSummary.Builderbuilder()StringcurrencyCode()The currency code that Amazon Web Services used to generate the recommendations and present potential savings.StringcurrentOnDemandSpend()The current total on demand spend of the applicable usage types over the lookback period.StringdailyCommitmentToPurchase()The recommended Savings Plans cost on a daily (24 hourly) basis.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringestimatedMonthlySavingsAmount()The estimated monthly savings amount that's based on the recommended Savings Plans purchase.StringestimatedOnDemandCostWithCurrentCommitment()The estimated On-Demand costs you expect with no additional commitment.StringestimatedROI()The estimated return on investment that's based on the recommended Savings Plans and estimated savings.StringestimatedSavingsAmount()The estimated total savings over the lookback period, based on the purchase of the recommended Savings Plans.StringestimatedSavingsPercentage()The estimated savings relative to the total cost of On-Demand usage, over the lookback period.StringestimatedTotalCost()The estimated total cost of the usage after purchasing the recommended Savings Plans.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhourlyCommitmentToPurchase()The recommended hourly commitment that's based on the recommendation parameters.List<SdkField<?>>sdkFields()static Class<? extends SavingsPlansPurchaseRecommendationSummary.Builder>serializableBuilderClass()SavingsPlansPurchaseRecommendationSummary.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringtotalRecommendationCount()The aggregate number of Savings Plans recommendations that exist for your account.-
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
-
estimatedROI
public final String 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
public final String 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
public final String 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
public final String 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
public final String 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
public final String 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
public final String 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
public final String 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
public final String 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
public final String 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
public final String 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
public SavingsPlansPurchaseRecommendationSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SavingsPlansPurchaseRecommendationSummary.Builder,SavingsPlansPurchaseRecommendationSummary>
-
builder
public static SavingsPlansPurchaseRecommendationSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends SavingsPlansPurchaseRecommendationSummary.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.
-
-