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 Details

    • Builder

      public Builder()
  • Method Details

    • cacheEvictions

      public final ScriptCache.Builder cacheEvictions​(@Nullable java.lang.Long value)
      API name: cache_evictions
    • compilationLimitTriggered

      public final ScriptCache.Builder compilationLimitTriggered​(@Nullable java.lang.Long value)
      API name: compilation_limit_triggered
    • compilations

      public final ScriptCache.Builder compilations​(@Nullable java.lang.Long value)
      API name: compilations
    • context

      public final ScriptCache.Builder context​(@Nullable java.lang.String value)
      API name: context
    • build

      public ScriptCache build()
      Builds a ScriptCache.
      Specified by:
      build in interface ObjectBuilder<ScriptCache>
      Throws:
      java.lang.NullPointerException - if some of the required fields are null.