Class ThreadPoolRequest.Builder

java.lang.Object
co.elastic.clients.elasticsearch.cat.ThreadPoolRequest.Builder
All Implemented Interfaces:
ObjectBuilder<ThreadPoolRequest>
Enclosing class:
ThreadPoolRequest

public static class ThreadPoolRequest.Builder
extends java.lang.Object
implements ObjectBuilder<ThreadPoolRequest>
Builder for ThreadPoolRequest.
  • Constructor Details

    • Builder

      public Builder()
  • Method Details

    • threadPoolPatterns

      public ThreadPoolRequest.Builder threadPoolPatterns​(@Nullable java.util.List<java.lang.String> value)
      A comma-separated list of regular-expressions to filter the thread pools in the output

      API name: thread_pool_patterns

    • threadPoolPatterns

      public ThreadPoolRequest.Builder threadPoolPatterns​(java.lang.String... value)
      A comma-separated list of regular-expressions to filter the thread pools in the output

      API name: thread_pool_patterns

    • addThreadPoolPatterns

      public ThreadPoolRequest.Builder addThreadPoolPatterns​(java.lang.String value)
      Add a value to threadPoolPatterns(List), creating the list if needed.
    • size

      public ThreadPoolRequest.Builder size​(@Nullable jakarta.json.JsonValue value)
      The multiplier in which to display values

      API name: size

    • build

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