Class VerifyRepositoryRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.snapshot.VerifyRepositoryRequest
Verify a snapshot repository. Check for common misconfigurations in a
snapshot repository.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<VerifyRepositoryRequest,
VerifyRepositoryResponse, ErrorResponse> Endpoint "snapshot.verify_repository
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Time
The period to wait for the master node.final String
name()
Required - The name of the snapshot repository to verify.static VerifyRepositoryRequest
final Time
timeout()
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.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<VerifyRepositoryRequest,VerifyRepositoryResponse, _ENDPOINTErrorResponse> Endpoint "snapshot.verify_repository
".
-
-
Method Details
-
of
public static VerifyRepositoryRequest of(Function<VerifyRepositoryRequest.Builder, ObjectBuilder<VerifyRepositoryRequest>> fn) -
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
-
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
-