Class IncludedQuantityUtilizationSummary

java.lang.Object
com.azure.core.management.ProxyResource
com.azure.resourcemanager.costmanagement.fluent.models.BenefitUtilizationSummaryInner
com.azure.resourcemanager.costmanagement.models.IncludedQuantityUtilizationSummary

public final class IncludedQuantityUtilizationSummary extends BenefitUtilizationSummaryInner
Included Quantity utilization summary resource.
  • Constructor Details

    • IncludedQuantityUtilizationSummary

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

    • utilizationPercentage

      public BigDecimal utilizationPercentage()
      Get the utilizationPercentage property: This is the utilized percentage for the benefit ID.
      Returns:
      the utilizationPercentage value.
    • armSkuName

      public String armSkuName()
      Get the armSkuName property: ARM SKU name. For example, 'Compute_Savings_Plan' for savings plan.
      Returns:
      the armSkuName value.
    • benefitId

      public String benefitId()
      Get the benefitId property: The benefit ID is the identifier of the benefit.
      Returns:
      the benefitId value.
    • benefitOrderId

      public String benefitOrderId()
      Get the benefitOrderId property: The benefit order ID is the identifier for a benefit purchase.
      Returns:
      the benefitOrderId value.
    • benefitType

      public BenefitKind benefitType()
      Get the benefitType property: The benefit type. Supported values: 'SavingsPlan'.
      Returns:
      the benefitType value.
    • withBenefitType

      public IncludedQuantityUtilizationSummary withBenefitType(BenefitKind benefitType)
      Set the benefitType property: The benefit type. Supported values: 'SavingsPlan'.
      Parameters:
      benefitType - the benefitType value to set.
      Returns:
      the IncludedQuantityUtilizationSummary object itself.
    • usageDate

      public OffsetDateTime usageDate()
      Get the usageDate property: Date corresponding to the utilization summary record. If the grain of data is monthly, value for this field will be first day of the month.
      Returns:
      the usageDate value.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class BenefitUtilizationSummaryInner
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.