Class PendingTasksRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<PendingTasksRequest.Builder>
co.elastic.clients.elasticsearch.cluster.PendingTasksRequest.Builder
- All Implemented Interfaces:
- WithJson<PendingTasksRequest.Builder>,- ObjectBuilder<PendingTasksRequest>
- Enclosing class:
- PendingTasksRequest
public static class PendingTasksRequest.Builder
extends RequestBase.AbstractBuilder<PendingTasksRequest.Builder>
implements ObjectBuilder<PendingTasksRequest>
Builder for 
PendingTasksRequest.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aPendingTasksRequest.Iftrue, the request retrieves information from the local node only.masterTimeout(Time value) Period to wait for a connection to the master node.Period to wait for a connection to the master node.protected PendingTasksRequest.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
localIftrue, the request retrieves information from the local node only. Iffalse, information is retrieved from the master node.API name: local
- 
masterTimeoutPeriod to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name: master_timeout
- 
masterTimeoutpublic final PendingTasksRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name: master_timeout
- 
self- Specified by:
- selfin class- RequestBase.AbstractBuilder<PendingTasksRequest.Builder>
 
- 
buildBuilds aPendingTasksRequest.- Specified by:
- buildin interface- ObjectBuilder<PendingTasksRequest>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-