public class CreateSnapshotAction extends Action<CreateSnapshotRequest,CreateSnapshotResponse,CreateSnapshotRequestBuilder>
Modifier and Type | Field and Description |
---|---|
static CreateSnapshotAction |
INSTANCE |
static java.lang.String |
NAME |
Modifier and Type | Method and 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, transportOptions
public static final CreateSnapshotAction INSTANCE
public static final java.lang.String NAME
public CreateSnapshotResponse newResponse()
GenericAction
newResponse
in class GenericAction<CreateSnapshotRequest,CreateSnapshotResponse>
public CreateSnapshotRequestBuilder newRequestBuilder(ElasticsearchClient client)
Action
newRequestBuilder
in class Action<CreateSnapshotRequest,CreateSnapshotResponse,CreateSnapshotRequestBuilder>