Class XpackUsageRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.xpack.XpackUsageRequest
public class XpackUsageRequest extends RequestBase
This API provides information about which features are currently enabled and
available under the current license and some usage statistics.
- See Also:
- API specification
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
XpackUsageRequest.Builder
Builder forXpackUsageRequest
.Nested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
Fields Modifier and Type Field Description static Endpoint<XpackUsageRequest,XpackUsageResponse,ErrorResponse>
_ENDPOINT
Endpoint "xpack.usage
". -
Method Summary
Modifier and Type Method Description Time
masterTimeout()
Period to wait for a connection to the master node.static XpackUsageRequest
of(java.util.function.Function<XpackUsageRequest.Builder,ObjectBuilder<XpackUsageRequest>> fn)
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Field Details
-
_ENDPOINT
Endpoint "xpack.usage
".
-
-
Method Details
-
of
public static XpackUsageRequest of(java.util.function.Function<XpackUsageRequest.Builder,ObjectBuilder<XpackUsageRequest>> fn) -
masterTimeout
Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.API name:
master_timeout
-