Class OpenJobRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.OpenJobRequest
- All Implemented Interfaces:
JsonpSerializable
Opens one or more anomaly detection jobs. An anomaly detection job must be
opened in order for it 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 classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Modifier and TypeFieldDescriptionstatic final JsonpDeserializer<OpenJobRequest>
Json deserializer forOpenJobRequest
static final Endpoint<OpenJobRequest,
OpenJobResponse, ErrorResponse> Endpoint "ml.open_job
". -
Method Summary
Modifier and TypeMethodDescriptionfinal String
jobId()
Required - Identifier for the anomaly detection job.static OpenJobRequest
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
final Time
timeout()
Refer to the description for thetimeout
query 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 thetimeout
query parameter.API name:
timeout
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupOpenJobRequestDeserializer
protected static void setupOpenJobRequestDeserializer(ObjectDeserializer<OpenJobRequest.Builder> op)
-