Class GetRepositoryRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.snapshot.GetRepositoryRequest
Get snapshot repository information.
- See Also:
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBaseRequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final Endpoint<GetRepositoryRequest,GetRepositoryResponse, ErrorResponse> Endpoint "snapshot.get_repository".
- 
Method SummaryModifier and TypeMethodDescriptionfinal Booleanlocal()Iftrue, the request gets information from the local node only.final TimeThe period to wait for the master node.name()A comma-separated list of snapshot repository names used to limit the request.static GetRepositoryRequestMethods inherited from class co.elastic.clients.elasticsearch._types.RequestBasetoString
- 
Field Details- 
_ENDPOINTEndpoint "snapshot.get_repository".
 
- 
- 
Method Details- 
ofpublic static GetRepositoryRequest of(Function<GetRepositoryRequest.Builder, ObjectBuilder<GetRepositoryRequest>> fn) 
- 
localIftrue, the request gets information from the local node only. Iffalse, the request gets information from the master node.API name: local
- 
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
- 
nameA comma-separated list of snapshot repository names used to limit the request. Wildcard (*) expressions are supported including combining wildcards with exclude patterns starting with-.To get information about all snapshot repositories registered in the cluster, omit this parameter or use *or_all.API name: repository
 
-