Class BudgetFilter


  • public final class BudgetFilter
    extends Object
    May be used to filter budgets by resource group, resource, or meter.
    • Constructor Detail

      • BudgetFilter

        public BudgetFilter()
    • Method Detail

      • and

        public List<BudgetFilterProperties> and()
        Get the and property: The logical "AND" expression. Must have at least 2 items.
        Returns:
        the and value.
      • withAnd

        public BudgetFilter withAnd​(List<BudgetFilterProperties> and)
        Set the and property: The logical "AND" expression. Must have at least 2 items.
        Parameters:
        and - the and value to set.
        Returns:
        the BudgetFilter object itself.
      • not

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

        public BudgetFilter withNot​(BudgetFilterProperties not)
        Set the not property: The logical "NOT" expression.
        Parameters:
        not - the not value to set.
        Returns:
        the BudgetFilter object itself.
      • dimensions

        public BudgetComparisonExpression dimensions()
        Get the dimensions property: Has comparison expression for a dimension.
        Returns:
        the dimensions value.
      • withDimensions

        public BudgetFilter withDimensions​(BudgetComparisonExpression dimensions)
        Set the dimensions property: Has comparison expression for a dimension.
        Parameters:
        dimensions - the dimensions value to set.
        Returns:
        the BudgetFilter object itself.
      • tags

        public BudgetComparisonExpression tags()
        Get the tags property: Has comparison expression for a tag.
        Returns:
        the tags value.
      • withTags

        public BudgetFilter withTags​(BudgetComparisonExpression tags)
        Set the tags property: Has comparison expression for a tag.
        Parameters:
        tags - the tags value to set.
        Returns:
        the BudgetFilter object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.