public class SnapshotsStatusRequestBuilder extends MasterNodeOperationRequestBuilder<SnapshotsStatusRequest,SnapshotsStatusResponse,SnapshotsStatusRequestBuilder>
action, client, request| Constructor and Description |
|---|
SnapshotsStatusRequestBuilder(ElasticsearchClient client,
SnapshotsStatusAction action)
Constructs the new snapshotstatus request
|
SnapshotsStatusRequestBuilder(ElasticsearchClient client,
SnapshotsStatusAction action,
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
|
SnapshotsStatusRequestBuilder |
setRepository(String repository)
Sets the repository name
|
SnapshotsStatusRequestBuilder |
setSnapshots(String... snapshots)
Sets list of snapshots to return
|
setMasterNodeTimeout, setMasterNodeTimeoutbeforeExecute, execute, execute, get, get, get, putHeader, requestpublic SnapshotsStatusRequestBuilder(ElasticsearchClient client, SnapshotsStatusAction action)
public SnapshotsStatusRequestBuilder(ElasticsearchClient client, SnapshotsStatusAction action, String repository)
public SnapshotsStatusRequestBuilder setRepository(String repository)
repository - repository namepublic SnapshotsStatusRequestBuilder setSnapshots(String... snapshots)
snapshots - list of snapshotspublic SnapshotsStatusRequestBuilder addSnapshots(String... snapshots)
snapshots - additional snapshotsCopyright © 2009–2017. All rights reserved.