Class PutRepositoryAction
- java.lang.Object
-
- org.elasticsearch.action.GenericAction<Request,Response>
-
- org.elasticsearch.action.Action<PutRepositoryRequest,AcknowledgedResponse,PutRepositoryRequestBuilder>
-
- org.elasticsearch.action.admin.cluster.repositories.put.PutRepositoryAction
-
public class PutRepositoryAction extends Action<PutRepositoryRequest,AcknowledgedResponse,PutRepositoryRequestBuilder>
Register repository action
-
-
Field Summary
Fields Modifier and Type Field Description static PutRepositoryActionINSTANCEstatic java.lang.StringNAME
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PutRepositoryRequestBuildernewRequestBuilder(ElasticsearchClient client)Creates a new request builder given the client provided as argumentAcknowledgedResponsenewResponse()Creates a new response instance.-
Methods inherited from class org.elasticsearch.action.GenericAction
equals, getResponseReader, hashCode, name, transportOptions
-
-
-
-
Field Detail
-
INSTANCE
public static final PutRepositoryAction INSTANCE
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
-
Method Detail
-
newResponse
public AcknowledgedResponse newResponse()
Description copied from class:GenericActionCreates a new response instance.- Specified by:
newResponsein classGenericAction<PutRepositoryRequest,AcknowledgedResponse>
-
newRequestBuilder
public PutRepositoryRequestBuilder newRequestBuilder(ElasticsearchClient client)
Description copied from class:ActionCreates a new request builder given the client provided as argument- Specified by:
newRequestBuilderin classAction<PutRepositoryRequest,AcknowledgedResponse,PutRepositoryRequestBuilder>
-
-