Class DeleteSnapshotRequestBuilder


Delete snapshot request builder
  • Constructor Details

    • DeleteSnapshotRequestBuilder

      public DeleteSnapshotRequestBuilder(ElasticsearchClient client, DeleteSnapshotAction action)
      Constructs delete snapshot request builder
    • DeleteSnapshotRequestBuilder

      public DeleteSnapshotRequestBuilder(ElasticsearchClient client, DeleteSnapshotAction action,  repository, ... snapshots)
      Constructs delete snapshot request builder with specified repository and snapshot names
  • Method Details

    • setRepository

      public  repository)
      Sets the repository name
      Parameters:
      repository - repository name
      Returns:
      this builder
    • setSnapshots

      public ... snapshots)
      Sets the snapshot name
      Parameters:
      snapshots - snapshot names
      Returns:
      this builder