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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal FlushJobRequest.BuilderadvanceTime(String value) Specifies to advance to a particular time value.build()Builds aFlushJobRequest.final FlushJobRequest.BuildercalcInterim(Boolean value) If true, calculates the interim results for the most recent bucket or all buckets within the latency period.final FlushJobRequest.BuilderWhen used in conjunction withcalc_interim, specifies the range of buckets on which to calculate interim results.final FlushJobRequest.BuilderRequired - Identifier for the anomaly detection job.protected FlushJobRequest.Builderself()final FlushJobRequest.BuilderSpecifies to skip to a particular time value.final FlushJobRequest.BuilderWhen 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
withJsonMethods 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:
selfin classRequestBase.AbstractBuilder<FlushJobRequest.Builder>
-
build
Builds aFlushJobRequest.- Specified by:
buildin interfaceObjectBuilder<FlushJobRequest>- Throws:
NullPointerException- if some of the required fields are null.
-