Class StartSlmRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<StartSlmRequest.Builder>
co.elastic.clients.elasticsearch.slm.StartSlmRequest.Builder
- All Implemented Interfaces:
- WithJson<StartSlmRequest.Builder>,- ObjectBuilder<StartSlmRequest>
- Enclosing class:
- StartSlmRequest
public static class StartSlmRequest.Builder
extends RequestBase.AbstractBuilder<StartSlmRequest.Builder>
implements ObjectBuilder<StartSlmRequest>
Builder for 
StartSlmRequest.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aStartSlmRequest.final StartSlmRequest.BuildermasterTimeout(Time value) The period to wait for a connection to the master node.final StartSlmRequest.BuilderThe period to wait for a connection to the master node.protected StartSlmRequest.Builderself()final StartSlmRequest.BuilderThe period to wait for a response.final StartSlmRequest.BuilderThe period to wait for a response.Methods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
masterTimeoutThe 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
- 
masterTimeoutThe 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
- 
timeoutThe 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
- 
timeoutThe 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:
- selfin class- RequestBase.AbstractBuilder<StartSlmRequest.Builder>
 
- 
buildBuilds aStartSlmRequest.- Specified by:
- buildin interface- ObjectBuilder<StartSlmRequest>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-