BudgetFilterProperties Class
- java.
lang. Object - com.
azure. resourcemanager. consumption. models. BudgetFilterProperties
- com.
Implements
public final class BudgetFilterProperties
implements JsonSerializable<BudgetFilterProperties>
The Dimensions or Tags to filter a budget by.
Constructor Summary
| Constructor | Description |
|---|---|
| BudgetFilterProperties() |
Creates an instance of Budget |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
Budget |
dimensions()
Get the dimensions property: Has comparison expression for a dimension. |
|
static
Budget |
fromJson(JsonReader jsonReader)
Reads an instance of Budget |
|
Budget |
tags()
Get the tags property: Has comparison expression for a tag. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Budget |
withDimensions(BudgetComparisonExpression dimensions)
Set the dimensions property: Has comparison expression for a dimension. |
|
Budget |
withTags(BudgetComparisonExpression tags)
Set the tags property: Has comparison expression for a tag. |
Methods inherited from java.lang.Object
Constructor Details
BudgetFilterProperties
public BudgetFilterProperties()
Creates an instance of BudgetFilterProperties class.
Method Details
dimensions
public BudgetComparisonExpression dimensions()
Get the dimensions property: Has comparison expression for a dimension.
Returns:
fromJson
public static BudgetFilterProperties fromJson(JsonReader jsonReader)
Reads an instance of BudgetFilterProperties from the JsonReader.
Parameters:
Returns:
Throws:
tags
public BudgetComparisonExpression tags()
Get the tags property: Has comparison expression for a tag.
Returns:
toJson
validate
public void validate()
Validates the instance.
withDimensions
public BudgetFilterProperties withDimensions(BudgetComparisonExpression dimensions)
Set the dimensions property: Has comparison expression for a dimension.
Parameters:
Returns:
withTags
public BudgetFilterProperties withTags(BudgetComparisonExpression tags)
Set the tags property: Has comparison expression for a tag.
Parameters:
Returns: