Class ThreadPoolRequest.Builder

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

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

    • Builder

      public Builder()
  • Method Details

    • size

      public final ThreadPoolRequest.Builder size​(@Nullable ThreadPoolSize value)
      The multiplier in which to display values

      API name: size

    • threadPoolPatterns

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

      API name: thread_pool_patterns

      Adds all elements of list to threadPoolPatterns.

    • threadPoolPatterns

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

      API name: thread_pool_patterns

      Adds one or more values to threadPoolPatterns.

    • build

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