public class UpgradeAction extends Action<UpgradeRequest,UpgradeResponse,UpgradeRequestBuilder>
Modifier and Type | Field and Description |
---|---|
static UpgradeAction |
INSTANCE |
static String |
NAME |
Modifier and Type | Method and Description |
---|---|
UpgradeRequestBuilder |
newRequestBuilder(ElasticsearchClient client)
Creates a new request builder given the client provided as argument
|
UpgradeResponse |
newResponse()
Creates a new response instance.
|
equals, hashCode, name, transportOptions
public static final UpgradeAction INSTANCE
public static final String NAME
public UpgradeResponse newResponse()
GenericAction
newResponse
in class GenericAction<UpgradeRequest,UpgradeResponse>
public UpgradeRequestBuilder newRequestBuilder(ElasticsearchClient client)
Action
newRequestBuilder
in class Action<UpgradeRequest,UpgradeResponse,UpgradeRequestBuilder>
client
- An initialized ElasticsearchClient
RequestBuilder
instanceCopyright © 2009–2017. All rights reserved.