Class FlushJobRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ml.FlushJobRequest
- All Implemented Interfaces:
ElasticsearchCommonRequest
,JsonpSerializable
@JsonpDeserializable public final class FlushJobRequest extends RequestBase implements JsonpSerializable
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FlushJobRequest.Builder
Builder forFlushJobRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static JsonpDeserializer<FlushJobRequest>
_DESERIALIZER
Json deserializer forFlushJobRequest
static Endpoint<FlushJobRequest,FlushJobResponse,ElasticsearchError>
ENDPOINT
Endpoint "ml.flush_job
". -
Constructor Summary
Constructors Constructor Description FlushJobRequest(FlushJobRequest.Builder builder)
FlushJobRequest(java.util.function.Function<FlushJobRequest.Builder,FlushJobRequest.Builder> fn)
-
Method Summary
Modifier and Type Method Description java.lang.String
advanceTime()
API name:advance_time
java.lang.Boolean
calcInterim()
API name:calc_interim
java.lang.String
end()
API name:end
java.lang.String
jobId()
Required - The name of the job to flushvoid
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
setupFlushJobRequestDeserializer(DelegatingDeserializer<FlushJobRequest.Builder> op)
java.lang.String
skipTime()
Skips time to the given value without generating results or updating the model for the skipped intervaljava.lang.String
start()
API name:start
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
_DESERIALIZER
Json deserializer forFlushJobRequest
-
ENDPOINT
Endpoint "ml.flush_job
".
-
-
Constructor Details
-
FlushJobRequest
-
FlushJobRequest
public FlushJobRequest(java.util.function.Function<FlushJobRequest.Builder,FlushJobRequest.Builder> fn)
-
-
Method Details
-
jobId
public java.lang.String jobId()Required - The name of the job to flushAPI name:
job_id
-
skipTime
@Nullable public java.lang.String skipTime()Skips time to the given value without generating results or updating the model for the skipped intervalAPI name:
skip_time
-
advanceTime
@Nullable public java.lang.String advanceTime()API name:advance_time
-
calcInterim
@Nullable public java.lang.Boolean calcInterim()API name:calc_interim
-
end
@Nullable public java.lang.String end()API name:end
-
start
@Nullable public java.lang.String start()API name:start
-
serialize
Serialize this object to JSON.- Specified by:
serialize
in interfaceJsonpSerializable
-
serializeInternal
-
setupFlushJobRequestDeserializer
protected static void setupFlushJobRequestDeserializer(DelegatingDeserializer<FlushJobRequest.Builder> op)
-