ForecastSpend Class
- java.
lang. Object - com.
azure. resourcemanager. consumption. models. ForecastSpend
- com.
public final class ForecastSpend
The forecasted cost which is being tracked for a budget.
Constructor Summary
Constructor | Description | |
---|---|---|
ForecastSpend() |
Method Summary
Modifier and Type | Method and Description |
---|---|
Big |
amount()
Get the amount property: The forecasted cost for the total time period 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. |
Methods inherited from java.lang.Object
Constructor Details
ForecastSpend
public ForecastSpend()
Method Details
amount
public BigDecimal amount()
Get the amount property: The forecasted cost for the total time period which is being tracked by the budget. This value is only provided if the budget contains a forecast alert type.
Returns:
unit
public String unit()
Get the unit property: The unit of measure for the budget amount.
Returns:
validate
public void validate()
Validates the instance.
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for