Class GetLifecycleRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.slm.GetLifecycleRequest
Get policy information. Get snapshot lifecycle policy definitions and
information about the latest snapshot attempts.
- 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<GetLifecycleRequest,
GetLifecycleResponse, ErrorResponse> Endpoint "slm.get_lifecycle
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Time
The period to wait for a connection to the master node.static GetLifecycleRequest
policyId()
Comma-separated list of snapshot lifecycle policies to retrievefinal Time
timeout()
The period to wait for a response.Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "slm.get_lifecycle
".
-
-
Method Details
-
of
public static GetLifecycleRequest of(Function<GetLifecycleRequest.Builder, ObjectBuilder<GetLifecycleRequest>> fn) -
masterTimeout
The period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout
-
policyId
Comma-separated list of snapshot lifecycle policies to retrieveAPI name:
policy_id
-
timeout
The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.API name:
timeout
-