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 Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ThreadPoolRequestbuild()Builds aThreadPoolRequest.ThreadPoolRequest.Buildersize(ThreadPoolSize value)The multiplier in which to display valuesThreadPoolRequest.BuilderthreadPoolPatterns(java.lang.String value, java.lang.String... values)A comma-separated list of regular-expressions to filter the thread pools in the outputThreadPoolRequest.BuilderthreadPoolPatterns(java.util.List<java.lang.String> list)A comma-separated list of regular-expressions to filter the thread pools in the outputMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAllMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
size
The multiplier in which to display valuesAPI name:
size -
threadPoolPatterns
A comma-separated list of regular-expressions to filter the thread pools in the outputAPI name:
thread_pool_patternsAdds all elements of
listtothreadPoolPatterns. -
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 outputAPI name:
thread_pool_patternsAdds one or more values to
threadPoolPatterns. -
build
Builds aThreadPoolRequest.- Specified by:
buildin interfaceObjectBuilder<ThreadPoolRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-