Class XpackUsageRequest
java.lang.Object
co.elastic.clients.elasticsearch._types.RequestBase
co.elastic.clients.elasticsearch.xpack.XpackUsageRequest
Get usage information. Get information about the features that are currently
enabled and available under the current license. The API also provides some
usage statistics.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch._types.RequestBase
RequestBase.AbstractBuilder<BuilderT extends RequestBase.AbstractBuilder<BuilderT>>
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Endpoint<XpackUsageRequest,
XpackUsageResponse, ErrorResponse> Endpoint "xpack.usage
". -
Method Summary
Modifier and TypeMethodDescriptionfinal Time
The period to wait for a connection to the master node.static XpackUsageRequest
Methods inherited from class co.elastic.clients.elasticsearch._types.RequestBase
toString
-
Field Details
-
_ENDPOINT
Endpoint "xpack.usage
".
-
-
Method Details
-
of
public static XpackUsageRequest of(Function<XpackUsageRequest.Builder, ObjectBuilder<XpackUsageRequest>> fn) -
masterTimeout
The 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. To indicate that the request should never timeout, set it to-1
.API name:
master_timeout
-