Class BudgetFilterProperties
- java.lang.Object
-
- com.azure.resourcemanager.consumption.models.BudgetFilterProperties
-
public final class BudgetFilterProperties extends Object
The Dimensions or Tags to filter a budget by.
-
-
Constructor Summary
Constructors Constructor Description BudgetFilterProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BudgetComparisonExpression
dimensions()
Get the dimensions property: Has comparison expression for a dimension.BudgetComparisonExpression
tags()
Get the tags property: Has comparison expression for a tag.void
validate()
Validates the instance.BudgetFilterProperties
withDimensions(BudgetComparisonExpression dimensions)
Set the dimensions property: Has comparison expression for a dimension.BudgetFilterProperties
withTags(BudgetComparisonExpression tags)
Set the tags property: Has comparison expression for a tag.
-
-
-
Method Detail
-
dimensions
public BudgetComparisonExpression dimensions()
Get the dimensions property: Has comparison expression for a dimension.- Returns:
- the dimensions value.
-
withDimensions
public BudgetFilterProperties withDimensions(BudgetComparisonExpression dimensions)
Set the dimensions property: Has comparison expression for a dimension.- Parameters:
dimensions
- the dimensions value to set.- Returns:
- the BudgetFilterProperties object itself.
-
tags
public BudgetComparisonExpression tags()
Get the tags property: Has comparison expression for a tag.- Returns:
- the tags value.
-
withTags
public BudgetFilterProperties withTags(BudgetComparisonExpression tags)
Set the tags property: Has comparison expression for a tag.- Parameters:
tags
- the tags value to set.- Returns:
- the BudgetFilterProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-