Class AllSavingsBenefitDetails
java.lang.Object
com.azure.resourcemanager.costmanagement.models.AllSavingsBenefitDetails
Benefit recommendation details.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AllSavingsBenefitDetails class. -
Method Summary
Modifier and TypeMethodDescriptionGet the averageUtilizationPercentage property: Estimated average utilization percentage for the 'totalHours' in the look-back period, with this commitment.Get the benefitCost property: The estimated cost with benefit for the 'totalHours' in the look-back period.Get the commitmentAmount property: The commitment amount at the commitmentGranularity.Get the coveragePercentage property: Estimated benefit coverage percentage for the 'totalHours' in the look-back period, with this commitment.Get the overageCost property: The difference between total cost and benefit cost for the 'totalHours' in the look-back period.Get the savingsAmount property: The amount saved for the 'totalHours' in the look-back period, by purchasing the recommended quantity of the benefit.Get the savingsPercentage property: The savings in percentage for the 'totalHours' in the look-back period, by purchasing the recommended quantity of benefit.Get the totalCost property: Total cost, which is sum of benefit cost and overage cost.void
validate()
Validates the instance.Get the wastageCost property: Estimated unused portion of the 'benefitCost'.
-
Constructor Details
-
AllSavingsBenefitDetails
public AllSavingsBenefitDetails()Creates an instance of AllSavingsBenefitDetails class.
-
-
Method Details
-
overageCost
Get the overageCost property: The difference between total cost and benefit cost for the 'totalHours' in the look-back period.- Returns:
- the overageCost value.
-
benefitCost
Get the benefitCost property: The estimated cost with benefit for the 'totalHours' in the look-back period. It's equal to (commitmentAmount * totalHours).- Returns:
- the benefitCost value.
-
totalCost
Get the totalCost property: Total cost, which is sum of benefit cost and overage cost.- Returns:
- the totalCost value.
-
savingsAmount
Get the savingsAmount property: The amount saved for the 'totalHours' in the look-back period, by purchasing the recommended quantity of the benefit.- Returns:
- the savingsAmount value.
-
savingsPercentage
Get the savingsPercentage property: The savings in percentage for the 'totalHours' in the look-back period, by purchasing the recommended quantity of benefit.- Returns:
- the savingsPercentage value.
-
coveragePercentage
Get the coveragePercentage property: Estimated benefit coverage percentage for the 'totalHours' in the look-back period, with this commitment.- Returns:
- the coveragePercentage value.
-
commitmentAmount
Get the commitmentAmount property: The commitment amount at the commitmentGranularity.- Returns:
- the commitmentAmount value.
-
averageUtilizationPercentage
Get the averageUtilizationPercentage property: Estimated average utilization percentage for the 'totalHours' in the look-back period, with this commitment.- Returns:
- the averageUtilizationPercentage value.
-
wastageCost
Get the wastageCost property: Estimated unused portion of the 'benefitCost'.- Returns:
- the wastageCost value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-