Class GetNodeRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.shutdown.GetNodeRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<GetNodeRequest>
- Enclosing class:
- GetNodeRequest
public static class GetNodeRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<GetNodeRequest>
Builder for
GetNodeRequest.-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GetNodeRequestbuild()Builds aGetNodeRequest.GetNodeRequest.BuildermasterTimeout(TimeUnit value)Period to wait for a connection to the master node.GetNodeRequest.BuildernodeId(java.lang.String value, java.lang.String... values)Which node for which to retrieve the shutdown statusGetNodeRequest.BuildernodeId(java.util.List<java.lang.String> list)Which node for which to retrieve the shutdown statusGetNodeRequest.Buildertimeout(TimeUnit value)Period to wait for a response.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
-
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. -
timeout
Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout -
build
Builds aGetNodeRequest.- Specified by:
buildin interfaceObjectBuilder<GetNodeRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-