@BarathSubramaniam, welcome to the Atlassian developer community.
I can confirm that Atlassian does not maintain such a client library. However, we do maintain Open API specifications for Confluence REST APIs that you may be able to use to generate a Java client via Swagger CodeGen.
It’s a good question for the community because I know there are various language-specific clients around for different Atlassian products.