Class ReportConfigFilter
java.lang.Object
com.azure.resourcemanager.costmanagement.models.ReportConfigFilter
The filter expression to be used in the report.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionand()
Get the and property: The logical "AND" expression.Get the dimension property: Has comparison expression for a dimension.not()
Get the not property: The logical "NOT" expression.or()
Get the or property: The logical "OR" expression.tag()
Get the tag property: Has comparison expression for a tag.void
validate()
Validates the instance.withAnd
(List<ReportConfigFilter> and) Set the and property: The logical "AND" expression.withDimension
(ReportConfigComparisonExpression dimension) Set the dimension property: Has comparison expression for a dimension.Set the not property: The logical "NOT" expression.withOr
(List<ReportConfigFilter> or) Set the or property: The logical "OR" expression.Set the tag 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.
-
not
Get the not property: The logical "NOT" expression.- Returns:
- the not value.
-
withNot
Set the not property: The logical "NOT" expression.- Parameters:
not
- the not value to set.- Returns:
- the ReportConfigFilter object itself.
-
dimension
Get the dimension property: Has comparison expression for a dimension.- Returns:
- the dimension value.
-
withDimension
Set the dimension property: Has comparison expression for a dimension.- Parameters:
dimension
- the dimension value to set.- Returns:
- the ReportConfigFilter object itself.
-
tag
Get the tag property: Has comparison expression for a tag.- Returns:
- the tag value.
-
withTag
Set the tag property: Has comparison expression for a tag.- Parameters:
tag
- the tag value to set.- Returns:
- the ReportConfigFilter object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-