Class BenefitUtilizationSummaryProperties
java.lang.Object
com.azure.resourcemanager.costmanagement.models.BenefitUtilizationSummaryProperties
- Direct Known Subclasses:
IncludedQuantityUtilizationSummaryProperties
,SavingsPlanUtilizationSummaryProperties
The properties of a benefit utilization summary.
-
Constructor Summary
ConstructorDescriptionCreates an instance of BenefitUtilizationSummaryProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the armSkuName property: ARM SKU name.Get the benefitId property: The benefit ID is the identifier of the benefit.Get the benefitOrderId property: The benefit order ID is the identifier for a benefit purchase.Get the benefitType property: The benefit type.Get the usageDate property: Date corresponding to the utilization summary record.void
validate()
Validates the instance.withBenefitType
(BenefitKind benefitType) Set the benefitType property: The benefit type.
-
Constructor Details
-
BenefitUtilizationSummaryProperties
public BenefitUtilizationSummaryProperties()Creates an instance of BenefitUtilizationSummaryProperties class.
-
-
Method Details
-
armSkuName
Get the armSkuName property: ARM SKU name. For example, 'Compute_Savings_Plan' for savings plan.- Returns:
- the armSkuName value.
-
benefitId
Get the benefitId property: The benefit ID is the identifier of the benefit.- Returns:
- the benefitId value.
-
benefitOrderId
Get the benefitOrderId property: The benefit order ID is the identifier for a benefit purchase.- Returns:
- the benefitOrderId value.
-
benefitType
Get the benefitType property: The benefit type. Supported values: 'SavingsPlan'.- Returns:
- the benefitType value.
-
withBenefitType
Set the benefitType property: The benefit type. Supported values: 'SavingsPlan'.- Parameters:
benefitType
- the benefitType value to set.- Returns:
- the BenefitUtilizationSummaryProperties object itself.
-
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.
-