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 -
Method Summary
Modifier 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.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
end
The end time.API name:
end -
end
The end time.API name:
end -
endMs
Required - The end time as an epoch in milliseconds.API name:
end_ms -
start
The start time.API name:
start -
start
public final RunningStateSearchInterval.Builder start(Function<Time.Builder, ObjectBuilder<Time>> fn) The start time.API name:
start -
startMs
Required - The start time as an epoch in milliseconds.API name:
start_ms -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<RunningStateSearchInterval.Builder>
-
build
Builds aRunningStateSearchInterval.- Specified by:
buildin interfaceObjectBuilder<RunningStateSearchInterval>- Throws:
NullPointerException- if some of the required fields are null.
-