Class SkuCost
java.lang.Object
com.azure.resourcemanager.workloads.models.SkuCost
The SKU cost definition.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the extendedUnit property: The extended unit.meterId()
Get the meterId property: Billing meter id.quantity()
Get the quantity property: The quantity.void
validate()
Validates the instance.withExtendedUnit
(String extendedUnit) Set the extendedUnit property: The extended unit.withMeterId
(String meterId) Set the meterId property: Billing meter id.withQuantity
(Integer quantity) Set the quantity property: The quantity.
-
Constructor Details
-
SkuCost
public SkuCost()
-
-
Method Details
-
meterId
Get the meterId property: Billing meter id.- Returns:
- the meterId value.
-
withMeterId
Set the meterId property: Billing meter id.- Parameters:
meterId
- the meterId value to set.- Returns:
- the SkuCost object itself.
-
quantity
Get the quantity property: The quantity.- Returns:
- the quantity value.
-
withQuantity
Set the quantity property: The quantity.- Parameters:
quantity
- the quantity value to set.- Returns:
- the SkuCost object itself.
-
extendedUnit
Get the extendedUnit property: The extended unit.- Returns:
- the extendedUnit value.
-
withExtendedUnit
Set the extendedUnit property: The extended unit.- Parameters:
extendedUnit
- the extendedUnit value to set.- Returns:
- the SkuCost object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-