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 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<GetRepositoryRequest,
GetRepositoryResponse, ErrorResponse> Endpoint "snapshot.get_repository
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Boolean
local()
Iftrue
, the request gets information from the local node only.final Time
The period to wait for the master node.name()
A comma-separated list of snapshot repository names used to limit the request.static GetRepositoryRequest
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "snapshot.get_repository
".
-
-
Method Details
-
of
public static GetRepositoryRequest of(Function<GetRepositoryRequest.Builder, ObjectBuilder<GetRepositoryRequest>> fn) -
local
Iftrue
, the request gets information from the local node only. Iffalse
, the request gets information from the master node.API name:
local
-
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
A 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
-