public class CreateSnapshotAction extends Action<CreateSnapshotRequest,CreateSnapshotResponse,CreateSnapshotRequestBuilder>
| Modifier and Type | Field | Description |
|---|---|---|
static CreateSnapshotAction |
INSTANCE |
|
static java.lang.String |
NAME |
| Modifier and Type | Method | Description |
|---|---|---|
CreateSnapshotRequestBuilder |
newRequestBuilder(ElasticsearchClient client) |
Creates a new request builder given the client provided as argument
|
CreateSnapshotResponse |
newResponse() |
Creates a new response instance.
|
equals, hashCode, name, transportOptionspublic static final CreateSnapshotAction INSTANCE
public static final java.lang.String NAME
public CreateSnapshotResponse newResponse()
GenericActionnewResponse in class GenericAction<CreateSnapshotRequest,CreateSnapshotResponse>public CreateSnapshotRequestBuilder newRequestBuilder(ElasticsearchClient client)
ActionnewRequestBuilder in class Action<CreateSnapshotRequest,CreateSnapshotResponse,CreateSnapshotRequestBuilder>