Class GetNodeRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.shutdown.GetNodeRequest
public class GetNodeRequest extends RequestBase
Retrieve status of a node or nodes that are currently marked as shutting
down. Designed for indirect use by ECE/ESS and ECK. Direct use is not
supported.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
GetNodeRequest.Builder
Builder forGetNodeRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<GetNodeRequest,GetNodeResponse,ErrorResponse>
_ENDPOINT
Endpoint "shutdown.get_node
". -
Method Summary
Modifier and Type Method Description TimeUnit
masterTimeout()
Period to wait for a connection to the master node.java.util.List<java.lang.String>
nodeId()
Which node for which to retrieve the shutdown statusstatic GetNodeRequest
of(java.util.function.Function<GetNodeRequest.Builder,ObjectBuilder<GetNodeRequest>> fn)
TimeUnit
timeout()
Period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
Endpoint "shutdown.get_node
".
-
-
Method Details
-
of
public static GetNodeRequest of(java.util.function.Function<GetNodeRequest.Builder,ObjectBuilder<GetNodeRequest>> fn) -
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
public final java.util.List<java.lang.String> nodeId()Which node for which to retrieve the shutdown statusAPI name:
node_id
-
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
-