Class FlushJobRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<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 WithJsonObjectBuilderBase<FlushJobRequest.Builder> implements ObjectBuilder<FlushJobRequest>
Builder for
FlushJobRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description FlushJobRequest.BuilderadvanceTime(java.lang.String value)Specifies to advance to a particular time value.FlushJobRequestbuild()Builds aFlushJobRequest.FlushJobRequest.BuildercalcInterim(java.lang.Boolean value)If true, calculates the interim results for the most recent bucket or all buckets within the latency period.FlushJobRequest.Builderend(java.lang.String value)When used in conjunction withcalc_interim, specifies the range of buckets on which to calculate interim results.FlushJobRequest.BuilderjobId(java.lang.String value)Required - Identifier for the anomaly detection job.protected FlushJobRequest.Builderself()FlushJobRequest.BuilderskipTime(java.lang.String value)Specifies to skip to a particular time value.FlushJobRequest.Builderstart(java.lang.String value)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
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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 classWithJsonObjectBuilderBase<FlushJobRequest.Builder>
-
build
Builds aFlushJobRequest.- Specified by:
buildin interfaceObjectBuilder<FlushJobRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-