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 GetNodeRequest
build()
Builds aGetNodeRequest
.GetNodeRequest.Builder
nodeId(java.lang.String value, java.lang.String... values)
Which node for which to retrieve the shutdown statusGetNodeRequest.Builder
nodeId(java.util.List<java.lang.String> list)
Which node for which to retrieve the shutdown statusMethods 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
-
nodeId
Which node for which to retrieve the shutdown statusAPI name:
node_id
Adds all elements of
list
tonodeId
. -
nodeId
Which node for which to retrieve the shutdown statusAPI name:
node_id
Adds one or more values to
nodeId
. -
build
Builds aGetNodeRequest
.- Specified by:
build
in interfaceObjectBuilder<GetNodeRequest>
- Throws:
java.lang.NullPointerException
- if some of the required fields are null.
-