Class ReportConfigFilter

java.lang.Object
com.azure.resourcemanager.costmanagement.models.ReportConfigFilter

public final class ReportConfigFilter extends Object
The filter expression to be used in the report.
  • Constructor Details

    • ReportConfigFilter

      public ReportConfigFilter()
      Creates an instance of ReportConfigFilter class.
  • Method Details

    • and

      public List<ReportConfigFilter> 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

      public List<ReportConfigFilter> 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

      public ReportConfigFilter not()
      Get the not property: The logical "NOT" expression.
      Returns:
      the not value.
    • withNot

      public ReportConfigFilter withNot(ReportConfigFilter not)
      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

      public ReportConfigFilter withDimension(ReportConfigComparisonExpression dimension)
      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.