Class Context.Builder

java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.nodes.Context.Builder
All Implemented Interfaces:
ObjectBuilder<Context>
Enclosing class:
Context

public static class Context.Builder
extends ObjectBuilderBase
implements ObjectBuilder<Context>
Builder for Context.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • context

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

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

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

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

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