Class DeleteSnapshotRequestBuilder

    • Constructor Detail

      • DeleteSnapshotRequestBuilder

        public DeleteSnapshotRequestBuilder​(ElasticsearchClient client,
                                            DeleteSnapshotAction action,
                                            java.lang.String repository,
                                            java.lang.String snapshot)
        Constructs delete snapshot request builder with specified repository and snapshot names
    • Method Detail

      • setRepository

        public DeleteSnapshotRequestBuilder setRepository​(java.lang.String repository)
        Sets the repository name
        Parameters:
        repository - repository name
        Returns:
        this builder
      • setSnapshot

        public DeleteSnapshotRequestBuilder setSnapshot​(java.lang.String snapshot)
        Sets the snapshot name
        Parameters:
        snapshot - snapshot name
        Returns:
        this builder