Class DeleteLifecycleRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ilm.DeleteLifecycleRequest
Delete a lifecycle policy. You cannot delete policies that are currently in
use. If the policy is being used to manage any indices, the request fails and
returns an error.
- 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 "ilm.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 "ilm.delete_lifecycle".
-
-
Method Details
-
of
public static DeleteLifecycleRequest of(Function<DeleteLifecycleRequest.Builder, ObjectBuilder<DeleteLifecycleRequest>> fn) -
masterTimeout
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 -
name
Required - Identifier for the policy.API name:
policy -
timeout
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
-