Class IncludedQuantityUtilizationSummaryProperties
java.lang.Object
com.azure.resourcemanager.costmanagement.models.BenefitUtilizationSummaryProperties
com.azure.resourcemanager.costmanagement.fluent.models.IncludedQuantityUtilizationSummaryProperties
public final class IncludedQuantityUtilizationSummaryProperties
extends BenefitUtilizationSummaryProperties
Included Quantity utilization summary properties.
-
Constructor Summary
ConstructorDescriptionCreates an instance of IncludedQuantityUtilizationSummaryProperties class. -
Method Summary
Modifier and TypeMethodDescriptionGet the utilizationPercentage property: This is the utilized percentage for the benefit ID.void
validate()
Validates the instance.withBenefitType
(BenefitKind benefitType) Set the benefitType property: The benefit type.Methods inherited from class com.azure.resourcemanager.costmanagement.models.BenefitUtilizationSummaryProperties
armSkuName, benefitId, benefitOrderId, benefitType, usageDate
-
Constructor Details
-
IncludedQuantityUtilizationSummaryProperties
public IncludedQuantityUtilizationSummaryProperties()Creates an instance of IncludedQuantityUtilizationSummaryProperties class.
-
-
Method Details
-
utilizationPercentage
Get the utilizationPercentage property: This is the utilized percentage for the benefit ID.- Returns:
- the utilizationPercentage value.
-
withBenefitType
Set the benefitType property: The benefit type. Supported values: 'SavingsPlan'.- Overrides:
withBenefitType
in classBenefitUtilizationSummaryProperties
- Parameters:
benefitType
- the benefitType value to set.- Returns:
- the BenefitUtilizationSummaryProperties object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validate
in classBenefitUtilizationSummaryProperties
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-