Class NumberLessThanAdvancedFilter

java.lang.Object
com.azure.resourcemanager.eventgrid.models.AdvancedFilter
com.azure.resourcemanager.eventgrid.models.NumberLessThanAdvancedFilter

public final class NumberLessThanAdvancedFilter extends AdvancedFilter
NumberLessThan Advanced Filter.
  • Constructor Details

    • NumberLessThanAdvancedFilter

      public NumberLessThanAdvancedFilter()
  • Method Details

    • value

      public Double value()
      Get the value property: The filter value.
      Returns:
      the value value.
    • withValue

      public NumberLessThanAdvancedFilter withValue(Double value)
      Set the value property: The filter value.
      Parameters:
      value - the value value to set.
      Returns:
      the NumberLessThanAdvancedFilter object itself.
    • withKey

      public NumberLessThanAdvancedFilter withKey(String key)
      Set the key property: The field/property in the event based on which you want to filter.
      Overrides:
      withKey in class AdvancedFilter
      Parameters:
      key - the key value to set.
      Returns:
      the AdvancedFilter object itself.
    • validate

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