Class DeleteSnapshotRequest

java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.snapshot.DeleteSnapshotRequest

public class DeleteSnapshotRequest extends RequestBase
Delete snapshots.
See Also:
  • Field Details

  • Method Details

    • of

    • masterTimeout

      @Nullable public final Time masterTimeout()
      Explicit operation timeout for connection to master node

      API name: master_timeout

    • repository

      public final String repository()
      Required - A repository name

      API name: repository

    • snapshot

      public final String snapshot()
      Required - A comma-separated list of snapshot names

      API name: snapshot

    • waitForCompletion

      @Nullable public final Boolean waitForCompletion()
      If true, the request returns a response when the matching snapshots are all deleted. If false, the request returns a response as soon as the deletes are scheduled.

      API name: wait_for_completion