public class SnapshotsStatusRequestBuilder extends MasterNodeOperationRequestBuilder<SnapshotsStatusRequest,SnapshotsStatusResponse,SnapshotsStatusRequestBuilder,ClusterAdminClient>
client, request| Constructor and Description |
|---|
SnapshotsStatusRequestBuilder(ClusterAdminClient clusterAdminClient)
Constructs the new snapshotstatus request
|
SnapshotsStatusRequestBuilder(ClusterAdminClient clusterAdminClient,
String repository)
Constructs the new snapshot status request with specified repository
|
| Modifier and Type | Method and Description |
|---|---|
SnapshotsStatusRequestBuilder |
addSnapshots(String... snapshots)
Adds additional snapshots to the list of snapshots to return
|
protected void |
doExecute(ActionListener<SnapshotsStatusResponse> listener) |
SnapshotsStatusRequestBuilder |
setRepository(String repository)
Sets the repository name
|
SnapshotsStatusRequestBuilder |
setSnapshots(String... snapshots)
Sets list of snapshots to return
|
setMasterNodeTimeout, setMasterNodeTimeoutexecute, execute, get, get, get, putHeader, request, setListenerThreadedpublic SnapshotsStatusRequestBuilder(ClusterAdminClient clusterAdminClient)
clusterAdminClient - cluster admin clientpublic SnapshotsStatusRequestBuilder(ClusterAdminClient clusterAdminClient, String repository)
clusterAdminClient - cluster admin clientrepository - repository namepublic SnapshotsStatusRequestBuilder setRepository(String repository)
repository - repository namepublic SnapshotsStatusRequestBuilder setSnapshots(String... snapshots)
snapshots - list of snapshotspublic SnapshotsStatusRequestBuilder addSnapshots(String... snapshots)
snapshots - additional snapshotsprotected void doExecute(ActionListener<SnapshotsStatusResponse> listener)
Copyright © 2009–2016. All rights reserved.