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()
      The period to wait for the master node. If the master node is not available before the timeout expires, the request fails and returns an error. To indicate that the request should never timeout, set it to -1.

      API name: master_timeout

    • repository

      public final String repository()
      Required - The name of the repository to delete a snapshot from.

      API name: repository

    • snapshot

      public final String snapshot()
      Required - A comma-separated list of snapshot names to delete. It also accepts wildcards (*).

      API name: snapshot