public class ClusterHealthAction extends Action<ClusterHealthRequest,ClusterHealthResponse,ClusterHealthRequestBuilder>
Modifier and Type | Field and Description |
---|---|
static ClusterHealthAction |
INSTANCE |
static java.lang.String |
NAME |
Modifier and Type | Method and Description |
---|---|
ClusterHealthRequestBuilder |
newRequestBuilder(ElasticsearchClient client)
Creates a new request builder given the client provided as argument
|
ClusterHealthResponse |
newResponse()
Creates a new response instance.
|
equals, hashCode, name, transportOptions
public static final ClusterHealthAction INSTANCE
public static final java.lang.String NAME
public ClusterHealthResponse newResponse()
GenericAction
newResponse
in class GenericAction<ClusterHealthRequest,ClusterHealthResponse>
public ClusterHealthRequestBuilder newRequestBuilder(ElasticsearchClient client)
Action
newRequestBuilder
in class Action<ClusterHealthRequest,ClusterHealthResponse,ClusterHealthRequestBuilder>