Class ScriptCache.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<ScriptCache.Builder>
co.elastic.clients.elasticsearch.nodes.ScriptCache.Builder
- All Implemented Interfaces:
WithJson<ScriptCache.Builder>,ObjectBuilder<ScriptCache>
- Enclosing class:
- ScriptCache
public static class ScriptCache.Builder
extends WithJsonObjectBuilderBase<ScriptCache.Builder>
implements ObjectBuilder<ScriptCache>
Builder for
ScriptCache.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aScriptCache.final ScriptCache.BuildercacheEvictions(Long value) API name:cache_evictionsfinal ScriptCache.BuildercompilationLimitTriggered(Long value) API name:compilation_limit_triggeredfinal ScriptCache.Buildercompilations(Long value) API name:compilationsfinal ScriptCache.BuilderAPI name:contextprotected ScriptCache.Builderself()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
-
cacheEvictions
API name:cache_evictions -
compilationLimitTriggered
API name:compilation_limit_triggered -
compilations
API name:compilations -
context
API name:context -
self
- Specified by:
selfin classWithJsonObjectBuilderBase<ScriptCache.Builder>
-
build
Builds aScriptCache.- Specified by:
buildin interfaceObjectBuilder<ScriptCache>- Throws:
NullPointerException- if some of the required fields are null.
-