Class NodesRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.elasticsearch.cat.NodesRequest.Builder
- All Implemented Interfaces:
ObjectBuilder<NodesRequest>
- Enclosing class:
- NodesRequest
public static class NodesRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<NodesRequest>
Builder for
NodesRequest
.-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
Modifier and Type Method Description NodesRequest
build()
Builds aNodesRequest
.NodesRequest.Builder
bytes(Bytes value)
The unit in which to display byte valuesNodesRequest.Builder
fullId(java.lang.Boolean value)
Return the full node ID instead of the shortened version (default: false)Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
bytes
The unit in which to display byte valuesAPI name:
bytes
-
fullId
Return the full node ID instead of the shortened version (default: false)API name:
full_id
-
build
Builds aNodesRequest
.- Specified by:
build
in interfaceObjectBuilder<NodesRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-