Class DetectorUpdate
java.lang.Object
co.elastic.clients.elasticsearch.ml.DetectorUpdate
- All Implemented Interfaces:
JsonpSerializable
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DetectorUpdate>
Json deserializer forDetectorUpdate
-
Method Summary
Modifier and TypeMethodDescriptionfinal List<DetectionRule>
An array of custom rule objects, which enable you to customize the way detectors operate.final String
A description of the detector.final int
Required - A unique identifier for the detector.static DetectorUpdate
void
serialize
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
toString()
-
Field Details
-
_DESERIALIZER
Json deserializer forDetectorUpdate
-
-
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 theanalysis_config
, starting at zero.API name:
detector_index
-
description
A description of the detector.API name:
description
-
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
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
toString
-
setupDetectorUpdateDeserializer
protected static void setupDetectorUpdateDeserializer(ObjectDeserializer<DetectorUpdate.Builder> op)
-