Class DetectorUpdate

java.lang.Object
co.elastic.clients.elasticsearch.ml.DetectorUpdate
All Implemented Interfaces:
JsonpSerializable

@JsonpDeserializable public class DetectorUpdate extends Object implements JsonpSerializable
See Also:
  • Field Details

  • Method Details

    • of

    • detectorIndex

      public final int detectorIndex()
      Required - A unique identifier for the detector. This identifier is based on the order of the detectors in the analysis_config, starting at zero.

      API name: detector_index

    • description

      @Nullable public final String description()
      A description of the detector.

      API name: description

    • customRules

      public final List<DetectionRule> customRules()
      An array of custom rule objects, which enable you to customize the way detectors operate. For example, a rule may dictate to the detector conditions under which results should be skipped. Kibana refers to custom rules as job rules.

      API name: custom_rules

    • serialize

      public void serialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
      Serialize this object to JSON.
      Specified by:
      serialize in interface JsonpSerializable
    • serializeInternal

      protected void serializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper)
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • setupDetectorUpdateDeserializer

      protected static void setupDetectorUpdateDeserializer(ObjectDeserializer<DetectorUpdate.Builder> op)