Class StringEndsWithAdvancedFilter

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

public final class StringEndsWithAdvancedFilter extends AdvancedFilter
StringEndsWith Advanced Filter.
  • Constructor Details

    • StringEndsWithAdvancedFilter

      public StringEndsWithAdvancedFilter()
  • Method Details

    • values

      public List<String> values()
      Get the values property: The set of filter values.
      Returns:
      the values value.
    • withValues

      public StringEndsWithAdvancedFilter withValues(List<String> values)
      Set the values property: The set of filter values.
      Parameters:
      values - the values value to set.
      Returns:
      the StringEndsWithAdvancedFilter object itself.
    • withKey

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