Class CurrentSpend
- java.lang.Object
-
- com.azure.resourcemanager.consumption.models.CurrentSpend
-
public final class CurrentSpend extends Object
The current amount of cost which is being tracked for a budget.
-
-
Constructor Summary
Constructors Constructor Description CurrentSpend()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BigDecimal
amount()
Get the amount property: The total amount of cost which is being tracked by the budget.String
unit()
Get the unit property: The unit of measure for the budget amount.void
validate()
Validates the instance.
-
-
-
Method Detail
-
amount
public BigDecimal amount()
Get the amount property: The total amount of cost which is being tracked by the budget.- Returns:
- the amount value.
-
unit
public String unit()
Get the unit property: The unit of measure for the budget amount.- Returns:
- the unit value.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-