Class MlFilter

  • All Implemented Interfaces:
    ToXContent, ToXContentObject

    public class MlFilter
    extends java.lang.Object
    implements ToXContentObject
    An MlFilter Object A filter contains a list of strings. It can be used by one or more jobs. Specifically, filters are referenced in the custom_rules property of detector configuration objects.
    • Method Detail

      • getId

        public java.lang.String getId()
      • getDescription

        public java.lang.String getDescription()
      • getItems

        public java.util.SortedSet<java.lang.String> getItems()
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • builder

        public static MlFilter.Builder builder​(java.lang.String filterId)
        Creates a new Builder object for creating an MlFilter object
        Parameters:
        filterId - The ID of the filter to create