Class FlushJobRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.ml.FlushJobRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<FlushJobRequest>
- Enclosing class:
- FlushJobRequest
public static class FlushJobRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<FlushJobRequest>
Builder for
FlushJobRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description FlushJobRequest.Builder
advanceTime(java.lang.String value)
Specifies to advance to a particular time value.FlushJobRequest
build()
Builds aFlushJobRequest
.FlushJobRequest.Builder
calcInterim(java.lang.Boolean value)
If true, calculates the interim results for the most recent bucket or all buckets within the latency period.FlushJobRequest.Builder
end(java.lang.String value)
When used in conjunction withcalc_interim
, specifies the range of buckets on which to calculate interim results.FlushJobRequest.Builder
jobId(java.lang.String value)
Required - Identifier for the anomaly detection job.FlushJobRequest.Builder
skipTime(java.lang.String value)
Specifies to skip to a particular time value.FlushJobRequest.Builder
start(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.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods 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
-
build
Builds aFlushJobRequest
.- Specified by:
build
in interfaceObjectBuilder<FlushJobRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-