public class DeleteSnapshotRequestBuilder extends MasterNodeOperationRequestBuilder<DeleteSnapshotRequest,DeleteSnapshotResponse,DeleteSnapshotRequestBuilder,ClusterAdminClient>
client, request| Constructor and Description |
|---|
DeleteSnapshotRequestBuilder(ClusterAdminClient clusterAdminClient)
Constructs delete snapshot request builder
|
DeleteSnapshotRequestBuilder(ClusterAdminClient clusterAdminClient,
String repository,
String snapshot)
Constructs delete snapshot request builder with specified repository and snapshot names
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
doExecute(ActionListener<DeleteSnapshotResponse> listener) |
DeleteSnapshotRequestBuilder |
setRepository(String repository)
Sets the repository name
|
DeleteSnapshotRequestBuilder |
setSnapshot(String snapshot)
Sets the snapshot name
|
setMasterNodeTimeout, setMasterNodeTimeoutexecute, execute, get, get, get, putHeader, request, setListenerThreadedpublic DeleteSnapshotRequestBuilder(ClusterAdminClient clusterAdminClient)
clusterAdminClient - cluster admin clientpublic DeleteSnapshotRequestBuilder(ClusterAdminClient clusterAdminClient, String repository, String snapshot)
clusterAdminClient - cluster admin clientrepository - repository namesnapshot - snapshot namepublic DeleteSnapshotRequestBuilder setRepository(String repository)
repository - repository namepublic DeleteSnapshotRequestBuilder setSnapshot(String snapshot)
snapshot - snapshot nameprotected void doExecute(ActionListener<DeleteSnapshotResponse> listener)
Copyright © 2009–2016. All rights reserved.