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