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 Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description ThreadPoolRequest.Builder
addThreadPoolPatterns(java.lang.String value)
Add a value tothreadPoolPatterns(List)
, creating the list if needed.ThreadPoolRequest
build()
Builds aThreadPoolRequest
.ThreadPoolRequest.Builder
size(jakarta.json.JsonValue value)
The multiplier in which to display valuesThreadPoolRequest.Builder
threadPoolPatterns(java.lang.String... value)
A comma-separated list of regular-expressions to filter the thread pools in the outputThreadPoolRequest.Builder
threadPoolPatterns(java.util.List<java.lang.String> value)
A comma-separated list of regular-expressions to filter the thread pools in the outputMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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 outputAPI name:
thread_pool_patterns
-
threadPoolPatterns
A comma-separated list of regular-expressions to filter the thread pools in the outputAPI name:
thread_pool_patterns
-
addThreadPoolPatterns
Add a value tothreadPoolPatterns(List)
, creating the list if needed. -
size
The multiplier in which to display valuesAPI name:
size
-
build
Builds aThreadPoolRequest
.- Specified by:
build
in interfaceObjectBuilder<ThreadPoolRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-