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.BuilderthreadPoolPatterns(java.lang.String value, java.lang.String... values)List of thread pool names used to limit the request.ThreadPoolRequest.BuilderthreadPoolPatterns(java.util.List<java.lang.String> list)List of thread pool names used to limit the request.ThreadPoolRequest.Buildertime(Time value)Unit used to display time values.ThreadPoolRequest.Buildertime(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Unit used to display time values.Methods 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
-
threadPoolPatterns
List of thread pool names used to limit the request. Accepts wildcard expressions.API name:
thread_pool_patternsAdds all elements of
listtothreadPoolPatterns. -
threadPoolPatterns
public final ThreadPoolRequest.Builder threadPoolPatterns(java.lang.String value, java.lang.String... values)List of thread pool names used to limit the request. Accepts wildcard expressions.API name:
thread_pool_patternsAdds one or more values to
threadPoolPatterns. -
time
Unit used to display time values.API name:
time -
time
public final ThreadPoolRequest.Builder time(java.util.function.Function<Time.Builder,ObjectBuilder<Time>> fn)Unit used to display time values.API name:
time -
build
Builds aThreadPoolRequest.- Specified by:
buildin interfaceObjectBuilder<ThreadPoolRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-