Class FlushJobRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<FlushJobRequest.Builder>
co.elastic.clients.elasticsearch.ml.FlushJobRequest.Builder
- All Implemented Interfaces:
WithJson<FlushJobRequest.Builder>
,ObjectBuilder<FlushJobRequest>
- Enclosing class:
- FlushJobRequest
public static class FlushJobRequest.Builder
extends RequestBase.AbstractBuilder<FlushJobRequest.Builder>
implements ObjectBuilder<FlushJobRequest>
Builder for
FlushJobRequest
.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal FlushJobRequest.Builder
advanceTime
(String value) Specifies to advance to a particular time value.build()
Builds aFlushJobRequest
.final FlushJobRequest.Builder
calcInterim
(Boolean value) If true, calculates the interim results for the most recent bucket or all buckets within the latency period.final FlushJobRequest.Builder
When used in conjunction withcalc_interim
, specifies the range of buckets on which to calculate interim results.final FlushJobRequest.Builder
Required - Identifier for the anomaly detection job.protected FlushJobRequest.Builder
self()
final FlushJobRequest.Builder
Specifies to skip to a particular time value.final FlushJobRequest.Builder
When used in conjunction with calc_interim, specifies the range of buckets on which to calculate interim results.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
advanceTime
Specifies to advance to a particular time value. Results are generated and the model is updated for data from the specified time interval.API name:
advance_time
-
calcInterim
If true, calculates the interim results for the most recent bucket or all buckets within the latency period.API name:
calc_interim
-
end
When used in conjunction withcalc_interim
, specifies the range of buckets on which to calculate interim results.API name:
end
-
jobId
Required - Identifier for the anomaly detection job.API name:
job_id
-
skipTime
Specifies to skip to a particular time value. Results are not generated and the model is not updated for data from the specified time interval.API name:
skip_time
-
start
When used in conjunction with calc_interim, specifies the range of buckets on which to calculate interim results.API name:
start
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<FlushJobRequest.Builder>
-
build
Builds aFlushJobRequest
.- Specified by:
build
in interfaceObjectBuilder<FlushJobRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-