Class ElasticsearchXpackClient
java.lang.Object
co.elastic.clients.base.ApiClient
co.elastic.clients.elasticsearch.xpack.ElasticsearchXpackClient
public class ElasticsearchXpackClient extends ApiClient
Client for the xpack namespace.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ElasticsearchXpackClient(Transport transport)
-
Method Summary
Modifier and Type Method Description XpackInfoResponse
info()
Retrieves information about the installed X-Pack features.XpackInfoResponse
info(XpackInfoRequest request)
Retrieves information about the installed X-Pack features.XpackInfoResponse
info(java.util.function.Function<XpackInfoRequest.Builder,ObjectBuilder<XpackInfoRequest>> fn)
Retrieves information about the installed X-Pack features.UsageResponse
usage()
Retrieves usage information about the installed X-Pack features.UsageResponse
usage(UsageRequest request)
Retrieves usage information about the installed X-Pack features.UsageResponse
usage(java.util.function.Function<UsageRequest.Builder,ObjectBuilder<UsageRequest>> fn)
Retrieves usage information about the installed X-Pack features.Methods inherited from class co.elastic.clients.base.ApiClient
_transport, getDeserializer
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ElasticsearchXpackClient
-
-
Method Details
-
info
Retrieves information about the installed X-Pack features.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
info
public final XpackInfoResponse info(java.util.function.Function<XpackInfoRequest.Builder,ObjectBuilder<XpackInfoRequest>> fn) throws java.io.IOExceptionRetrieves information about the installed X-Pack features.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
info
Retrieves information about the installed X-Pack features.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
usage
Retrieves usage information about the installed X-Pack features.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
usage
public final UsageResponse usage(java.util.function.Function<UsageRequest.Builder,ObjectBuilder<UsageRequest>> fn) throws java.io.IOExceptionRetrieves usage information about the installed X-Pack features.- Parameters:
fn
- a function that initializes a freshly created builder. This function can either return its builder argument after having set its properties or return another builder.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-
usage
Retrieves usage information about the installed X-Pack features.- Throws:
java.io.IOException
- See Also:
- Documentation on elastic.co
-