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.BuilderendMs(long value)Required - API name:end_msprotected RunningStateSearchInterval.Builderself()RunningStateSearchInterval.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
-
endMs
Required - API name:end_ms -
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.
-