Class Recording.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<Recording.Builder>
co.elastic.clients.elasticsearch.nodes.Recording.Builder
- All Implemented Interfaces:
WithJson<Recording.Builder>,ObjectBuilder<Recording>
- Enclosing class:
- Recording
public static class Recording.Builder extends WithJsonObjectBuilderBase<Recording.Builder> implements ObjectBuilder<Recording>
Builder for
Recording.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description Recordingbuild()Builds aRecording.Recording.BuildercumulativeExecutionCount(java.lang.Long value)API name:cumulative_execution_countRecording.BuildercumulativeExecutionTime(Time value)API name:cumulative_execution_timeRecording.BuildercumulativeExecutionTime(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:cumulative_execution_timeRecording.BuildercumulativeExecutionTimeMillis(java.lang.Long value)API name:cumulative_execution_time_millisRecording.Buildername(java.lang.String value)API name:nameprotected Recording.Builderself()Methods 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
-
name
API name:name -
cumulativeExecutionCount
API name:cumulative_execution_count -
cumulativeExecutionTime
API name:cumulative_execution_time -
cumulativeExecutionTime
public final Recording.Builder cumulativeExecutionTime(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)API name:cumulative_execution_time -
cumulativeExecutionTimeMillis
API name:cumulative_execution_time_millis -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<Recording.Builder>
-
build
Builds aRecording.- Specified by:
buildin interfaceObjectBuilder<Recording>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-