public class DeleteSnapshotRequestBuilder extends MasterNodeOperationRequestBuilder<DeleteSnapshotRequest,DeleteSnapshotResponse,DeleteSnapshotRequestBuilder>
action, client, request| Constructor | Description |
|---|---|
DeleteSnapshotRequestBuilder(ElasticsearchClient client,
DeleteSnapshotAction action) |
Constructs delete snapshot request builder
|
DeleteSnapshotRequestBuilder(ElasticsearchClient client,
DeleteSnapshotAction action,
java.lang.String repository,
java.lang.String snapshot) |
Constructs delete snapshot request builder with specified repository and snapshot names
|
| Modifier and Type | Method | Description |
|---|---|---|
DeleteSnapshotRequestBuilder |
setRepository(java.lang.String repository) |
Sets the repository name
|
DeleteSnapshotRequestBuilder |
setSnapshot(java.lang.String snapshot) |
Sets the snapshot name
|
execute, execute, get, get, get, requestsetMasterNodeTimeout, setMasterNodeTimeoutpublic DeleteSnapshotRequestBuilder(ElasticsearchClient client, DeleteSnapshotAction action)
public DeleteSnapshotRequestBuilder(ElasticsearchClient client, DeleteSnapshotAction action, java.lang.String repository, java.lang.String snapshot)
public DeleteSnapshotRequestBuilder setRepository(java.lang.String repository)
repository - repository namepublic DeleteSnapshotRequestBuilder setSnapshot(java.lang.String snapshot)
snapshot - snapshot name