Class DeleteSnapshotRequest

  • All Implemented Interfaces:
    Streamable, Writeable, TaskAwareRequest

    public class DeleteSnapshotRequest
    extends MasterNodeRequest<DeleteSnapshotRequest>
    Delete snapshot request

    Delete snapshot request removes the snapshot record from the repository and cleans up all files that are associated with this particular snapshot. All files that are shared with at least one other existing snapshot are left intact.

    • Constructor Detail

      • DeleteSnapshotRequest

        public DeleteSnapshotRequest()
        Constructs a new delete snapshots request
      • DeleteSnapshotRequest

        public DeleteSnapshotRequest​(java.lang.String repository,
                                     java.lang.String snapshot)
        Constructs a new delete snapshots request with repository and snapshot name
        Parameters:
        repository - repository name
        snapshot - snapshot name
      • DeleteSnapshotRequest

        public DeleteSnapshotRequest​(java.lang.String repository)
        Constructs a new delete snapshots request with repository name
        Parameters:
        repository - repository name