Class AllSavingsBenefitDetails

java.lang.Object
com.azure.resourcemanager.costmanagement.models.AllSavingsBenefitDetails

public final class AllSavingsBenefitDetails extends Object
Benefit recommendation details.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Creates an instance of AllSavingsBenefitDetails class.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get 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
    Validates the instance.
    Get the wastageCost property: Estimated unused portion of the 'benefitCost'.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AllSavingsBenefitDetails

      public AllSavingsBenefitDetails()
      Creates an instance of AllSavingsBenefitDetails class.
  • Method Details

    • overageCost

      public BigDecimal 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

      public BigDecimal 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

      public BigDecimal totalCost()
      Get the totalCost property: Total cost, which is sum of benefit cost and overage cost.
      Returns:
      the totalCost value.
    • savingsAmount

      public BigDecimal 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

      public BigDecimal 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

      public BigDecimal 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

      public BigDecimal commitmentAmount()
      Get the commitmentAmount property: The commitment amount at the commitmentGranularity.
      Returns:
      the commitmentAmount value.
    • averageUtilizationPercentage

      public BigDecimal 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

      public BigDecimal 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.