Class ExecuteRetentionRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<ExecuteRetentionRequest.Builder>
co.elastic.clients.elasticsearch.slm.ExecuteRetentionRequest.Builder
- All Implemented Interfaces:
- WithJson<ExecuteRetentionRequest.Builder>,- ObjectBuilder<ExecuteRetentionRequest>
- Enclosing class:
- ExecuteRetentionRequest
public static class ExecuteRetentionRequest.Builder
extends RequestBase.AbstractBuilder<ExecuteRetentionRequest.Builder>
implements ObjectBuilder<ExecuteRetentionRequest>
Builder for 
ExecuteRetentionRequest.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aExecuteRetentionRequest.masterTimeout(Time value) The period to wait for a connection to the master node.The period to wait for a connection to the master node.protected ExecuteRetentionRequest.Builderself()The period to wait for a response.The 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.API name: master_timeout
- 
masterTimeoutpublic final ExecuteRetentionRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) 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.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.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.API name: timeout
- 
self- Specified by:
- selfin class- RequestBase.AbstractBuilder<ExecuteRetentionRequest.Builder>
 
- 
buildBuilds aExecuteRetentionRequest.- Specified by:
- buildin interface- ObjectBuilder<ExecuteRetentionRequest>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-