Class OpenJobRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.OpenJobRequest
- All Implemented Interfaces:
JsonpSerializable
Open anomaly detection jobs.
An anomaly detection job must be opened to be ready to receive and analyze data. It can be opened and closed multiple times throughout its lifecycle. When you open a new job, it starts with an empty model. When you open an existing job, the most recent model state is automatically loaded. The job is ready to resume its analysis from where it left off, once new data is received.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<OpenJobRequest>Json deserializer forOpenJobRequeststatic final Endpoint<OpenJobRequest,OpenJobResponse, ErrorResponse> Endpoint "ml.open_job". -
Method Summary
Modifier and TypeMethodDescriptionfinal StringjobId()Required - Identifier for the anomaly detection job.static OpenJobRequestvoidserialize(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) Serialize this object to JSON.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Timetimeout()Refer to the description for thetimeoutquery parameter.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_DESERIALIZER
Json deserializer forOpenJobRequest -
_ENDPOINT
Endpoint "ml.open_job".
-
-
Method Details
-
of
-
jobId
Required - Identifier for the anomaly detection job.API name:
job_id -
timeout
Refer to the description for thetimeoutquery parameter.API name:
timeout -
serialize
Serialize this object to JSON.- Specified by:
serializein interfaceJsonpSerializable
-
serializeInternal
-
setupOpenJobRequestDeserializer
protected static void setupOpenJobRequestDeserializer(ObjectDeserializer<OpenJobRequest.Builder> op)
-