Class StopSlmRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<StopSlmRequest.Builder>
co.elastic.clients.elasticsearch.slm.StopSlmRequest.Builder
- All Implemented Interfaces:
WithJson<StopSlmRequest.Builder>
,ObjectBuilder<StopSlmRequest>
- Enclosing class:
- StopSlmRequest
public static class StopSlmRequest.Builder
extends RequestBase.AbstractBuilder<StopSlmRequest.Builder>
implements ObjectBuilder<StopSlmRequest>
Builder for
StopSlmRequest
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aStopSlmRequest
.final StopSlmRequest.Builder
masterTimeout
(Time value) The period to wait for a connection to the master node.final StopSlmRequest.Builder
The period to wait for a connection to the master node.protected StopSlmRequest.Builder
self()
final StopSlmRequest.Builder
The period to wait for a response.final StopSlmRequest.Builder
The period to wait for a response.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBase
withJson
Methods inherited from class co.elastic.clients.util.ObjectBuilderBase
_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
masterTimeout
The 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. To indicate that the request should never timeout, set it to-1
.API name:
master_timeout
-
masterTimeout
The 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. To indicate that the request should never timeout, set it to-1
.API name:
master_timeout
-
timeout
The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. To indicate that the request should never timeout, set it to-1
.API name:
timeout
-
timeout
The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error. To indicate that the request should never timeout, set it to-1
.API name:
timeout
-
self
- Specified by:
self
in classRequestBase.AbstractBuilder<StopSlmRequest.Builder>
-
build
Builds aStopSlmRequest
.- Specified by:
build
in interfaceObjectBuilder<StopSlmRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-