Class BenefitUtilizationSummaryProperties

java.lang.Object
com.azure.resourcemanager.costmanagement.models.BenefitUtilizationSummaryProperties
Direct Known Subclasses:
IncludedQuantityUtilizationSummaryProperties, SavingsPlanUtilizationSummaryProperties

public class BenefitUtilizationSummaryProperties extends Object
The properties of a benefit utilization summary.
  • Constructor Details

    • BenefitUtilizationSummaryProperties

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

    • 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 BenefitUtilizationSummaryProperties withBenefitType(BenefitKind benefitType)
      Set the benefitType property: The benefit type. Supported values: 'SavingsPlan'.
      Parameters:
      benefitType - the benefitType value to set.
      Returns:
      the BenefitUtilizationSummaryProperties 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.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.