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 TimeThe period to wait for a connection to the master node.static GetLifecycleRequestpolicyId()Comma-separated list of snapshot lifecycle policies to retrievefinal Timetimeout()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
-