Class DeleteSnapshotRequestBuilder

All Implemented Interfaces:
RequestBuilder<DeleteSnapshotRequest,AcknowledgedResponse>

Delete snapshot request builder
  • Constructor Details

    • DeleteSnapshotRequestBuilder

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

    • setRepository

      public DeleteSnapshotRequestBuilder setRepository(String repository)
      Sets the repository name
      Parameters:
      repository - repository name
      Returns:
      this builder
    • setSnapshots

      public DeleteSnapshotRequestBuilder setSnapshots(String... snapshots)
      Sets the snapshot name
      Parameters:
      snapshots - snapshot names
      Returns:
      this builder