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, setMasterNodeTimeout
beforeExecute, execute, execute, get, get, get, putHeader, request
public 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–2016. All rights reserved.