Class DeleteLifecycleRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.slm.DeleteLifecycleRequest
Delete a policy. Delete a snapshot lifecycle policy definition. This
operation prevents any future snapshots from being taken but does not cancel
in-progress snapshots or remove previously-taken snapshots.
- 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<DeleteLifecycleRequest,
DeleteLifecycleResponse, ErrorResponse> Endpoint "slm.delete_lifecycle
". -
Method Summary
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
public static final Endpoint<DeleteLifecycleRequest,DeleteLifecycleResponse, _ENDPOINTErrorResponse> Endpoint "slm.delete_lifecycle
".
-
-
Method Details
-
of
public static DeleteLifecycleRequest of(Function<DeleteLifecycleRequest.Builder, ObjectBuilder<DeleteLifecycleRequest>> 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 removeAPI 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
-