Class DeleteNodeRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DeleteNodeRequest.Builder>
co.elastic.clients.elasticsearch.shutdown.DeleteNodeRequest.Builder
- All Implemented Interfaces:
WithJson<DeleteNodeRequest.Builder>,ObjectBuilder<DeleteNodeRequest>
- Enclosing class:
- DeleteNodeRequest
public static class DeleteNodeRequest.Builder
extends RequestBase.AbstractBuilder<DeleteNodeRequest.Builder>
implements ObjectBuilder<DeleteNodeRequest>
Builder for
DeleteNodeRequest.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds aDeleteNodeRequest.masterTimeout(Time value) Period to wait for a connection to the master node.Period to wait for a connection to the master node.Required - The node id of node to be removed from the shutdown stateprotected DeleteNodeRequest.Builderself()Period to wait for a response.Period to wait for a response.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
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 -
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
Required - The node id of node to be removed from the shutdown stateAPI 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 -
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 -
self
- Specified by:
selfin classRequestBase.AbstractBuilder<DeleteNodeRequest.Builder>
-
build
Builds aDeleteNodeRequest.- Specified by:
buildin interfaceObjectBuilder<DeleteNodeRequest>- Throws:
NullPointerException- if some of the required fields are null.
-