Class Pool.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • usedInBytes

      public final Pool.Builder usedInBytes​(@Nullable java.lang.Long value)
      API name: used_in_bytes
    • maxInBytes

      public final Pool.Builder maxInBytes​(@Nullable java.lang.Long value)
      API name: max_in_bytes
    • peakUsedInBytes

      public final Pool.Builder peakUsedInBytes​(@Nullable java.lang.Long value)
      API name: peak_used_in_bytes
    • peakMaxInBytes

      public final Pool.Builder peakMaxInBytes​(@Nullable java.lang.Long value)
      API name: peak_max_in_bytes
    • build

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