Class RunningStateSearchInterval.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<RunningStateSearchInterval.Builder>
co.elastic.clients.elasticsearch.ml.RunningStateSearchInterval.Builder
- All Implemented Interfaces:
- WithJson<RunningStateSearchInterval.Builder>,- ObjectBuilder<RunningStateSearchInterval>
- Enclosing class:
- RunningStateSearchInterval
public static class RunningStateSearchInterval.Builder
extends WithJsonObjectBuilderBase<RunningStateSearchInterval.Builder>
implements ObjectBuilder<RunningStateSearchInterval>
Builder for 
RunningStateSearchInterval.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aRunningStateSearchInterval.The end time.end(Function<Time.Builder, ObjectBuilder<Time>> fn) The end time.endMs(long value) Required - The end time as an epoch in milliseconds.protected RunningStateSearchInterval.Builderself()The start time.The start time.startMs(long value) Required - The start time as an epoch in milliseconds.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
endThe end time.API name: end
- 
endThe end time.API name: end
- 
endMsRequired - The end time as an epoch in milliseconds.API name: end_ms
- 
startThe start time.API name: start
- 
startpublic final RunningStateSearchInterval.Builder start(Function<Time.Builder, ObjectBuilder<Time>> fn) The start time.API name: start
- 
startMsRequired - The start time as an epoch in milliseconds.API name: start_ms
- 
self- Specified by:
- selfin class- WithJsonObjectBuilderBase<RunningStateSearchInterval.Builder>
 
- 
buildBuilds aRunningStateSearchInterval.- Specified by:
- buildin interface- ObjectBuilder<RunningStateSearchInterval>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-