Class ThreadPoolRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<BuilderT>
co.elastic.clients.elasticsearch.cat.CatRequestBase.AbstractBuilder<ThreadPoolRequest.Builder>
co.elastic.clients.elasticsearch.cat.ThreadPoolRequest.Builder
- All Implemented Interfaces:
WithJson<ThreadPoolRequest.Builder>,ObjectBuilder<ThreadPoolRequest>
- Enclosing class:
- ThreadPoolRequest
public static class ThreadPoolRequest.Builder extends CatRequestBase.AbstractBuilder<ThreadPoolRequest.Builder> implements ObjectBuilder<ThreadPoolRequest>
Builder for
ThreadPoolRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description ThreadPoolRequestbuild()Builds aThreadPoolRequest.protected ThreadPoolRequest.Builderself()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(TimeUnit value)Unit used to display time values.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods 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 -
self
- Specified by:
selfin classCatRequestBase.AbstractBuilder<ThreadPoolRequest.Builder>
-
build
Builds aThreadPoolRequest.- Specified by:
buildin interfaceObjectBuilder<ThreadPoolRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-