Class NumberLessThanOrEqualsAdvancedFilter

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

public final class NumberLessThanOrEqualsAdvancedFilter extends AdvancedFilter
NumberLessThanOrEquals Advanced Filter.
  • Constructor Details

    • NumberLessThanOrEqualsAdvancedFilter

      public NumberLessThanOrEqualsAdvancedFilter()
  • Method Details

    • value

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

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

      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.