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 Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description RunningStateSearchIntervalbuild()Builds aRunningStateSearchInterval.RunningStateSearchInterval.Builderend(Time value)API name:endRunningStateSearchInterval.Builderend(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:endRunningStateSearchInterval.BuilderendMs(long value)Required - API name:end_msprotected RunningStateSearchInterval.Builderself()RunningStateSearchInterval.Builderstart(Time value)API name:startRunningStateSearchInterval.Builderstart(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:startRunningStateSearchInterval.BuilderstartMs(long value)Required - API name:start_msMethods 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
-
end
API name:end -
end
public final RunningStateSearchInterval.Builder end(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:end -
endMs
Required - API name:end_ms -
start
API name:start -
start
public final RunningStateSearchInterval.Builder start(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:start -
startMs
Required - API name:start_ms -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<RunningStateSearchInterval.Builder>
-
build
Builds aRunningStateSearchInterval.- Specified by:
buildin interfaceObjectBuilder<RunningStateSearchInterval>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-