Class ReportConfigFilter
java.lang.Object
com.azure.resourcemanager.costmanagement.models.ReportConfigFilter
The filter expression to be used in the report.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionand()Get the and property: The logical "AND" expression.Get the dimensions property: Has comparison expression for a dimension.or()Get the or property: The logical "OR" expression.tags()Get the tags property: Has comparison expression for a tag.voidvalidate()Validates the instance.withAnd(List<ReportConfigFilter> and) Set the and property: The logical "AND" expression.withDimensions(ReportConfigComparisonExpression dimensions) Set the dimensions property: Has comparison expression for a dimension.withOr(List<ReportConfigFilter> or) Set the or property: The logical "OR" expression.Set the tags property: Has comparison expression for a tag.
-
Constructor Details
-
ReportConfigFilter
public ReportConfigFilter()Creates an instance of ReportConfigFilter class.
-
-
Method Details
-
and
Get the and property: The logical "AND" expression. Must have at least 2 items.- Returns:
- the and value.
-
withAnd
Set the and property: The logical "AND" expression. Must have at least 2 items.- Parameters:
and- the and value to set.- Returns:
- the ReportConfigFilter object itself.
-
or
Get the or property: The logical "OR" expression. Must have at least 2 items.- Returns:
- the or value.
-
withOr
Set the or property: The logical "OR" expression. Must have at least 2 items.- Parameters:
or- the or value to set.- Returns:
- the ReportConfigFilter object itself.
-
dimensions
Get the dimensions property: Has comparison expression for a dimension.- Returns:
- the dimensions value.
-
withDimensions
Set the dimensions property: Has comparison expression for a dimension.- Parameters:
dimensions- the dimensions value to set.- Returns:
- the ReportConfigFilter object itself.
-
tags
Get the tags property: Has comparison expression for a tag.- Returns:
- the tags value.
-
withTags
Set the tags property: Has comparison expression for a tag.- Parameters:
tags- the tags value to set.- Returns:
- the ReportConfigFilter object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-