Class GetNodeRequest.Builder
- java.lang.Object
-
- org.opensearch.client.util.ObjectBuilderBase
-
- org.opensearch.client.opensearch.shutdown.GetNodeRequest.Builder
-
- All Implemented Interfaces:
ObjectBuilder<GetNodeRequest>
- Enclosing class:
- GetNodeRequest
public static class GetNodeRequest.Builder extends ObjectBuilderBase implements ObjectBuilder<GetNodeRequest>
Builder forGetNodeRequest.
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetNodeRequestbuild()Builds aGetNodeRequest.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 status-
Methods inherited from class org.opensearch.client.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
-
-
-
Method Detail
-
nodeId
public final GetNodeRequest.Builder nodeId(java.util.List<java.lang.String> list)
Which node for which to retrieve the shutdown statusAPI name:
node_idAdds all elements of
listtonodeId.
-
nodeId
public final GetNodeRequest.Builder nodeId(java.lang.String value, java.lang.String... values)
Which node for which to retrieve the shutdown statusAPI name:
node_idAdds one or more values to
nodeId.
-
build
public GetNodeRequest build()
Builds aGetNodeRequest.- Specified by:
buildin interfaceObjectBuilder<GetNodeRequest>- Throws:
java.lang.NullPointerException- if some of the required fields are null.
-
-