Class SavingsPlansPurchaseRecommendationDetail
- java.lang.Object
-
- software.amazon.awssdk.services.costexplorer.model.SavingsPlansPurchaseRecommendationDetail
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<SavingsPlansPurchaseRecommendationDetail.Builder,SavingsPlansPurchaseRecommendationDetail>
@Generated("software.amazon.awssdk:codegen") public final class SavingsPlansPurchaseRecommendationDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<SavingsPlansPurchaseRecommendationDetail.Builder,SavingsPlansPurchaseRecommendationDetail>
Details for your recommended Savings Plans.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceSavingsPlansPurchaseRecommendationDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringaccountId()TheAccountIDthe recommendation is generated for.static SavingsPlansPurchaseRecommendationDetail.Builderbuilder()StringcurrencyCode()The currency code that Amazon Web Services used to generate the recommendations and present potential savings.StringcurrentAverageHourlyOnDemandSpend()The average value of hourly On-Demand spend over the lookback period of the applicable usage type.StringcurrentMaximumHourlyOnDemandSpend()The highest value of hourly On-Demand spend over the lookback period of the applicable usage type.StringcurrentMinimumHourlyOnDemandSpend()The lowest value of hourly On-Demand spend over the lookback period of the applicable usage type.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringestimatedAverageUtilization()The estimated utilization of the recommended Savings Plans.StringestimatedMonthlySavingsAmount()The estimated monthly savings amount based on the recommended Savings Plans.StringestimatedOnDemandCost()The remaining On-Demand cost estimated to not be covered by the recommended Savings Plans, over the length of the lookback period.StringestimatedOnDemandCostWithCurrentCommitment()The estimated On-Demand costs you expect with no additional commitment, based on your usage of the selected time period and the Savings Plans you own.StringestimatedROI()The estimated return on investment that's based on the recommended Savings Plans that you purchased.StringestimatedSavingsAmount()The estimated savings amount that's based on the recommended Savings Plans over the length of the lookback period.StringestimatedSavingsPercentage()The estimated savings percentage relative to the total cost of applicable On-Demand usage over the lookback period.StringestimatedSPCost()The cost of the recommended Savings Plans over the length of the lookback period.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringhourlyCommitmentToPurchase()The recommended hourly commitment level for the Savings Plans type and the configuration that's based on the usage during the lookback period.StringrecommendationDetailId()Contains detailed information about a specific Savings Plan recommendation.SavingsPlansDetailssavingsPlansDetails()Details for your recommended Savings Plans.List<SdkField<?>>sdkFields()static Class<? extends SavingsPlansPurchaseRecommendationDetail.Builder>serializableBuilderClass()SavingsPlansPurchaseRecommendationDetail.BuildertoBuilder()StringtoString()Returns a string representation of this object.StringupfrontCost()The upfront cost of the recommended Savings Plans, based on the selected payment option.-
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
-
savingsPlansDetails
public final SavingsPlansDetails savingsPlansDetails()
Details for your recommended Savings Plans.
- Returns:
- Details for your recommended Savings Plans.
-
accountId
public final String accountId()
The
AccountIDthe recommendation is generated for.- Returns:
- The
AccountIDthe recommendation is generated for.
-
upfrontCost
public final String upfrontCost()
The upfront cost of the recommended Savings Plans, based on the selected payment option.
- Returns:
- The upfront cost of the recommended Savings Plans, based on the selected payment option.
-
estimatedROI
public final String estimatedROI()
The estimated return on investment that's based on the recommended Savings Plans that you purchased. This is calculated as
estimatedSavingsAmount/estimatedSPCost*100.- Returns:
- The estimated return on investment that's based on the recommended Savings Plans that you purchased. This
is calculated as
estimatedSavingsAmount/estimatedSPCost*100.
-
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.
-
estimatedSPCost
public final String estimatedSPCost()
The cost of the recommended Savings Plans over the length of the lookback period.
- Returns:
- The cost of the recommended Savings Plans over the length of the lookback period.
-
estimatedOnDemandCost
public final String estimatedOnDemandCost()
The remaining On-Demand cost estimated to not be covered by the recommended Savings Plans, over the length of the lookback period.
- Returns:
- The remaining On-Demand cost estimated to not be covered by the recommended Savings Plans, over the length of the lookback period.
-
estimatedOnDemandCostWithCurrentCommitment
public final String estimatedOnDemandCostWithCurrentCommitment()
The estimated On-Demand costs you expect with no additional commitment, 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, based on your usage of the selected time period and the Savings Plans you own.
-
estimatedSavingsAmount
public final String estimatedSavingsAmount()
The estimated savings amount that's based on the recommended Savings Plans over the length of the lookback period.
- Returns:
- The estimated savings amount that's based on the recommended Savings Plans over the length of the lookback period.
-
estimatedSavingsPercentage
public final String estimatedSavingsPercentage()
The estimated savings percentage relative to the total cost of applicable On-Demand usage over the lookback period.
- Returns:
- The estimated savings percentage relative to the total cost of applicable On-Demand usage over the lookback period.
-
hourlyCommitmentToPurchase
public final String hourlyCommitmentToPurchase()
The recommended hourly commitment level for the Savings Plans type and the configuration that's based on the usage during the lookback period.
- Returns:
- The recommended hourly commitment level for the Savings Plans type and the configuration that's based on the usage during the lookback period.
-
estimatedAverageUtilization
public final String estimatedAverageUtilization()
The estimated utilization of the recommended Savings Plans.
- Returns:
- The estimated utilization of the recommended Savings Plans.
-
estimatedMonthlySavingsAmount
public final String estimatedMonthlySavingsAmount()
The estimated monthly savings amount based on the recommended Savings Plans.
- Returns:
- The estimated monthly savings amount based on the recommended Savings Plans.
-
currentMinimumHourlyOnDemandSpend
public final String currentMinimumHourlyOnDemandSpend()
The lowest value of hourly On-Demand spend over the lookback period of the applicable usage type.
- Returns:
- The lowest value of hourly On-Demand spend over the lookback period of the applicable usage type.
-
currentMaximumHourlyOnDemandSpend
public final String currentMaximumHourlyOnDemandSpend()
The highest value of hourly On-Demand spend over the lookback period of the applicable usage type.
- Returns:
- The highest value of hourly On-Demand spend over the lookback period of the applicable usage type.
-
currentAverageHourlyOnDemandSpend
public final String currentAverageHourlyOnDemandSpend()
The average value of hourly On-Demand spend over the lookback period of the applicable usage type.
- Returns:
- The average value of hourly On-Demand spend over the lookback period of the applicable usage type.
-
recommendationDetailId
public final String recommendationDetailId()
Contains detailed information about a specific Savings Plan recommendation.
- Returns:
- Contains detailed information about a specific Savings Plan recommendation.
-
toBuilder
public SavingsPlansPurchaseRecommendationDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<SavingsPlansPurchaseRecommendationDetail.Builder,SavingsPlansPurchaseRecommendationDetail>
-
builder
public static SavingsPlansPurchaseRecommendationDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends SavingsPlansPurchaseRecommendationDetail.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.
-
-