Class GetNodeRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<GetNodeRequest.Builder>
co.elastic.clients.elasticsearch.shutdown.GetNodeRequest.Builder
- All Implemented Interfaces:
WithJson<GetNodeRequest.Builder>,ObjectBuilder<GetNodeRequest>
- Enclosing class:
- GetNodeRequest
public static class GetNodeRequest.Builder
extends RequestBase.AbstractBuilder<GetNodeRequest.Builder>
implements ObjectBuilder<GetNodeRequest>
Builder for
GetNodeRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aGetNodeRequest.final GetNodeRequest.BuildermasterTimeout(Time value) Period to wait for a connection to the master node.final GetNodeRequest.BuilderPeriod to wait for a connection to the master node.final GetNodeRequest.BuilderWhich node for which to retrieve the shutdown statusfinal GetNodeRequest.BuilderWhich node for which to retrieve the shutdown statusprotected GetNodeRequest.Builderself()Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
masterTimeout
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 -
masterTimeout
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 -
nodeId
Which node for which to retrieve the shutdown statusAPI name:
node_idAdds all elements of
listtonodeId. -
nodeId
Which node for which to retrieve the shutdown statusAPI name:
node_idAdds one or more values to
nodeId. -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<GetNodeRequest.Builder>
-
build
Builds aGetNodeRequest.- Specified by:
buildin interfaceObjectBuilder<GetNodeRequest>- Throws:
NullPointerException- if some of the required fields are null.
-