Class ScriptCache.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.nodes.ScriptCache.Builder
- All Implemented Interfaces:
ObjectBuilder<ScriptCache>
- Enclosing class:
- ScriptCache
public static class ScriptCache.Builder extends ObjectBuilderBase implements ObjectBuilder<ScriptCache>
Builder for
ScriptCache.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ScriptCachebuild()Builds aScriptCache.ScriptCache.BuildercacheEvictions(java.lang.Long value)API name:cache_evictionsScriptCache.BuildercompilationLimitTriggered(java.lang.Long value)API name:compilation_limit_triggeredScriptCache.Buildercompilations(java.lang.Long value)API name:compilationsScriptCache.Buildercontext(java.lang.String value)API name:contextMethods 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
-
cacheEvictions
API name:cache_evictions -
compilationLimitTriggered
API name:compilation_limit_triggered -
compilations
API name:compilations -
context
API name:context -
build
Builds aScriptCache.- Specified by:
buildin interfaceObjectBuilder<ScriptCache>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-