Class ExecuteLifecycleRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.slm.ExecuteLifecycleRequest
Run a policy. Immediately create a snapshot according to the snapshot
lifecycle policy without waiting for the scheduled time. The snapshot policy
is normally applied according to its schedule, but you might want to manually
run a policy before performing an upgrade or other maintenance.
- 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<ExecuteLifecycleRequest,
ExecuteLifecycleResponse, ErrorResponse> Endpoint "slm.execute_lifecycle
". -
Method Summary
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<ExecuteLifecycleRequest,ExecuteLifecycleResponse, _ENDPOINTErrorResponse> Endpoint "slm.execute_lifecycle
".
-
-
Method Details
-
of
public static ExecuteLifecycleRequest of(Function<ExecuteLifecycleRequest.Builder, ObjectBuilder<ExecuteLifecycleRequest>> 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
Required - The id of the snapshot lifecycle policy to be executedAPI 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
-