public class DeleteSnapshotRequestBuilder extends MasterNodeOperationRequestBuilder<DeleteSnapshotRequest,DeleteSnapshotResponse,DeleteSnapshotRequestBuilder>
action, client, request
Constructor and 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 and Description |
---|---|
DeleteSnapshotRequestBuilder |
setRepository(java.lang.String repository)
Sets the repository name
|
DeleteSnapshotRequestBuilder |
setSnapshot(java.lang.String snapshot)
Sets the snapshot name
|
setMasterNodeTimeout, setMasterNodeTimeout
beforeExecute, execute, execute, get, get, get, request
public 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