Class VerifyRepositoryRequest.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch._types.RequestBase.AbstractBuilder<VerifyRepositoryRequest.Builder>
co.elastic.clients.elasticsearch.snapshot.VerifyRepositoryRequest.Builder
- All Implemented Interfaces:
WithJson<VerifyRepositoryRequest.Builder>
,ObjectBuilder<VerifyRepositoryRequest>
- Enclosing class:
- VerifyRepositoryRequest
public static class VerifyRepositoryRequest.Builder
extends RequestBase.AbstractBuilder<VerifyRepositoryRequest.Builder>
implements ObjectBuilder<VerifyRepositoryRequest>
Builder for
VerifyRepositoryRequest
.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds aVerifyRepositoryRequest
.masterTimeout
(Time value) The period to wait for the master node.The period to wait for the master node.Required - The name of the snapshot repository to verify.protected VerifyRepositoryRequest.Builder
self()
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.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 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
-
masterTimeout
public final VerifyRepositoryRequest.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
-
name
Required - The name of the snapshot repository to verify.API name:
repository
-
timeout
The 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
-
timeout
The 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:
self
in classRequestBase.AbstractBuilder<VerifyRepositoryRequest.Builder>
-
build
Builds aVerifyRepositoryRequest
.- Specified by:
build
in interfaceObjectBuilder<VerifyRepositoryRequest>
- Throws:
NullPointerException
- if some of the required fields are null.
-