Class BoolEqualsAdvancedFilter

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

public final class BoolEqualsAdvancedFilter extends AdvancedFilter
BoolEquals Advanced Filter.
  • Constructor Details

    • BoolEqualsAdvancedFilter

      public BoolEqualsAdvancedFilter()
  • Method Details

    • value

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

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

      public BoolEqualsAdvancedFilter 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.