OpenSearch/docs/java-api/admin/cluster/index.asciidoc

11 lines
334 B
Plaintext
Raw Normal View History

[[java-admin-cluster]]
=== Cluster Administration
To access cluster Java API, you need to call `cluster()` method from an <<java-admin,`AdminClient`>>:
[source,java]
--------------------------------------------------
ClusterAdminClient clusterAdminClient = adminClient.cluster();
--------------------------------------------------