Class DeleteRepositoryRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<DeleteRepositoryRequest.Builder>
co.elastic.clients.elasticsearch.snapshot.DeleteRepositoryRequest.Builder
- All Implemented Interfaces:
- WithJson<DeleteRepositoryRequest.Builder>,- ObjectBuilder<DeleteRepositoryRequest>
- Enclosing class:
- DeleteRepositoryRequest
public static class DeleteRepositoryRequest.Builder
extends RequestBase.AbstractBuilder<DeleteRepositoryRequest.Builder>
implements ObjectBuilder<DeleteRepositoryRequest>
Builder for 
DeleteRepositoryRequest.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aDeleteRepositoryRequest.masterTimeout(Time value) The period to wait for the master node.The period to wait for the master node.Required - The ame of the snapshot repositories to unregister.Required - The ame of the snapshot repositories to unregister.protected DeleteRepositoryRequest.Builderself()The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata.The period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata.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 the master node. If the master node is not available 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
- 
masterTimeoutpublic final DeleteRepositoryRequest.Builder masterTimeout(Function<Time.Builder, ObjectBuilder<Time>> fn) The period to wait for the master node. If the master node is not available 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
- 
nameRequired - The ame of the snapshot repositories to unregister. Wildcard (*) patterns are supported.API name: repositoryAdds all elements of listtoname.
- 
nameRequired - The ame of the snapshot repositories to unregister. Wildcard (*) patterns are supported.API name: repositoryAdds one or more values to name.
- 
timeoutThe period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata. If no response is received before the timeout expires, the cluster metadata update still applies but the response will indicate that it was not completely acknowledged. To indicate that the request should never timeout, set it to-1.API name: timeout
- 
timeoutThe period to wait for a response from all relevant nodes in the cluster after updating the cluster metadata. If no response is received before the timeout expires, the cluster metadata update still applies but the response will indicate that it was not completely acknowledged. To indicate that the request should never timeout, set it to-1.API name: timeout
- 
self- Specified by:
- selfin class- RequestBase.AbstractBuilder<DeleteRepositoryRequest.Builder>
 
- 
buildBuilds aDeleteRepositoryRequest.- Specified by:
- buildin interface- ObjectBuilder<DeleteRepositoryRequest>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-