Class CreateSnapshotAction
- java.lang.Object
-
- org.elasticsearch.action.GenericAction<Request,Response>
-
- org.elasticsearch.action.Action<CreateSnapshotRequest,CreateSnapshotResponse,CreateSnapshotRequestBuilder>
-
- org.elasticsearch.action.admin.cluster.snapshots.create.CreateSnapshotAction
-
public class CreateSnapshotAction extends Action<CreateSnapshotRequest,CreateSnapshotResponse,CreateSnapshotRequestBuilder>
Create snapshot action
-
-
Field Summary
Fields Modifier and Type Field Description static CreateSnapshotAction
INSTANCE
static java.lang.String
NAME
-
Method Summary
Modifier and Type Method Description CreateSnapshotRequestBuilder
newRequestBuilder(ElasticsearchClient client)
Creates a new request builder given the client provided as argumentCreateSnapshotResponse
newResponse()
Creates a new response instance.-
Methods inherited from class org.elasticsearch.action.GenericAction
equals, getResponseReader, hashCode, name, transportOptions
-
-
-
-
Field Detail
-
INSTANCE
public static final CreateSnapshotAction INSTANCE
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
newResponse
public CreateSnapshotResponse newResponse()
Description copied from class:GenericAction
Creates a new response instance.- Specified by:
newResponse
in classGenericAction<CreateSnapshotRequest,CreateSnapshotResponse>
-
newRequestBuilder
public CreateSnapshotRequestBuilder newRequestBuilder(ElasticsearchClient client)
Description copied from class:Action
Creates a new request builder given the client provided as argument- Specified by:
newRequestBuilder
in classAction<CreateSnapshotRequest,CreateSnapshotResponse,CreateSnapshotRequestBuilder>
-
-