public class RestoreSnapshotAction extends Action<RestoreSnapshotRequest,RestoreSnapshotResponse,RestoreSnapshotRequestBuilder>
Modifier and Type | Field and Description |
---|---|
static RestoreSnapshotAction |
INSTANCE |
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
RestoreSnapshotRequestBuilder |
newRequestBuilder(ElasticsearchClient client)
Creates a new request builder given the client provided as argument
|
RestoreSnapshotResponse |
newResponse()
Creates a new response instance.
|
equals, hashCode, name, transportOptions
public static final RestoreSnapshotAction INSTANCE
public static final java.lang.String NAME
public RestoreSnapshotResponse newResponse()
GenericAction
newResponse
in class GenericAction<RestoreSnapshotRequest,RestoreSnapshotResponse>
public RestoreSnapshotRequestBuilder newRequestBuilder(ElasticsearchClient client)
Action
newRequestBuilder
in class Action<RestoreSnapshotRequest,RestoreSnapshotResponse,RestoreSnapshotRequestBuilder>