Class DeleteLifecycleRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.ilm.DeleteLifecycleRequest

public class DeleteLifecycleRequest
extends RequestBase
Deletes the specified lifecycle policy definition. 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:
API specification
  • Field Details

  • Method Details

    • of

      public static DeleteLifecycleRequest of​(java.util.function.Function<DeleteLifecycleRequest.Builder,​ObjectBuilder<DeleteLifecycleRequest>> fn)
    • masterTimeout

      @Nullable public final Time 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

      public final java.lang.String name()
      Required - Identifier for the policy.

      API name: policy

    • timeout

      @Nullable public final Time 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